public class IliRecord
extends java.lang.Object
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.Modifier and Type | Method and Description |
---|---|
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. |
EwnRel |
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.
|
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 (can be null,
in which case see
getEnglishSynonyms() ). |
java.lang.String |
getSource()
Returns the source of the
IliRecord . |
java.lang.String |
toString()
Returns a
String representation of this IliRecord . |
protected void addEnglishSynonym(java.lang.String synonym)
IliRecord
.synonym
- the English synonym to addpublic int getLexUnitId()
LexUnit
corresponding to this IliRecord
.LexUnit
public EwnRel getEwnRelation()
IliRecord
.IliRecord
public java.lang.String getPwnWord()
getEnglishSynonyms()
).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