|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.tuebingen.uni.sfs.germanet.api.IliRecord
public class IliRecord
An IliRecord
consists of a German word, corresponding English word
(or words), and a relation connecting them.
Methods are provided to get each of the attributes.
Other variables include IDs from Princeton WordNet (PWN) 2.0 and 3.0, as well as
English paraphrases from PWN 2.0.
Method Summary | |
---|---|
protected void |
addEnglishSynonym(java.lang.String synonym)
Adds an English synonym to this IliRecord . |
java.util.List<java.lang.String> |
getEnglishSynonyms()
Returns a List of this IliRecord 's
English synonyms from PWN 2.0. |
java.lang.String |
getEwnRelation()
Returns the EuroWordNet cross-language relation of this IliRecord . |
int |
getLexUnitId()
Returns the identifier of the LexUnit
corresponding to this IliRecord . |
java.lang.String |
getPwn20Id()
Returns the identifier of the corresponding English word from PWN 2.0. |
java.lang.String |
getPwn20paraphrase()
Returns the paraphrase for this word from PWN 2.0. |
int |
getPwn20Sense()
Returns the sense of the corresponding English word from PWN 2.0. |
java.lang.String |
getPwn30Id()
Returns the identifier of the corresponding English word from PWN 3.0. |
java.lang.String |
getPwnWord()
Returns the corresponding English word from PWN 2.0. |
java.lang.String |
getSource()
Returns the source of the IliRecord . |
java.lang.String |
toString()
Returns a String representation of this IliRecord . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
protected void addEnglishSynonym(java.lang.String synonym)
IliRecord
.
synonym
- the English synonym to addpublic int getLexUnitId()
LexUnit
corresponding to this IliRecord
.
LexUnit
public java.lang.String getEwnRelation()
IliRecord
.
IliRecord
public java.lang.String getPwnWord()
public int getPwn20Sense()
public java.lang.String getPwn20Id()
public java.lang.String getPwn30Id()
public java.lang.String getPwn20paraphrase()
public java.lang.String getSource()
IliRecord
.
IliRecord
public java.util.List<java.lang.String> getEnglishSynonyms()
List
of this IliRecord
's
English synonyms from PWN 2.0.
List
of this IliRecord
's
English synonyms from PWN 2.0public java.lang.String toString()
String
representation of this IliRecord
.
toString
in class java.lang.Object
String
representation of this IliRecord
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |