|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.tudarmstadt.ukp.jwktl.parser.en.components.EnGlossEntry
public class EnGlossEntry
Helper class for storing parsed sense definitions, examples, and quotations.
Instances of this class only exist while parsing a dump file; they will
be converted into proper IWiktionarySense
as soon as the meaning
constituent has been completely parsed.
Constructor Summary | |
---|---|
EnGlossEntry(String gloss)
Initializes the entry with the specified definition. |
Method Summary | |
---|---|
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)
Append the specified example sentence to the last example sentences. |
String |
getDefinition()
Returns the sense definition. |
List<String> |
getExampleList()
Returns the list of example sentences. |
List<Quotation> |
getQuotations()
Returns the list of quotations. |
void |
setGloss(String definition)
Replace the sense definition with the specified one. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EnGlossEntry(String gloss)
Method Detail |
---|
public List<String> getExampleList()
public void addExample(String example)
public void appendExample(String example)
public void addQuotation(Quotation quotation)
public List<Quotation> getQuotations()
public String getDefinition()
public void setGloss(String definition)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |