public class EnGlossEntry extends Object
IWiktionarySense
as soon as the meaning
constituent has been completely parsed.Constructor and Description |
---|
EnGlossEntry(String gloss)
Initializes the entry with the specified definition.
|
Modifier and Type | Method and Description |
---|---|
void |
addExample(String example)
Add the specified example sentence to the list.
|
void |
addQuotation(Quotation quotation)
Add specified quotation to the list.
|
void |
appendExample(String example,
String separator)
Append the specified example sentence to the last example
sentences.
|
void |
appendExampleTranslation(String translation) |
String |
getDefinition()
Returns the sense definition.
|
List<String> |
getExampleList()
Returns the list of example sentences.
|
String |
getExampleTranslation(String example)
Returns the translation for the given example, or null.
|
List<Quotation> |
getQuotations()
Returns the list of quotations.
|
void |
setGloss(String definition)
Replace the sense definition with the specified one.
|
public EnGlossEntry(String gloss)
public String getExampleTranslation(String example)
public void addExample(String example)
public void appendExample(String example, String separator)
public void appendExampleTranslation(String translation)
public void addQuotation(Quotation quotation)
public String getDefinition()
public void setGloss(String definition)
Copyright © 2011-2016 Ubiquitous Knowledge Processing (UKP) Lab. All Rights Reserved.