|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.tudarmstadt.ukp.jwktl.parser.ru.wikokit.base.wikt.word.WRelation
public class WRelation
Semantic relations of Wiktionary word. See http://en.wiktionary.org/wiki/Wiktionary:Semantic_relations
Constructor Summary | |
---|---|
WRelation(String _meaning_summary,
WikiText[] _phrases)
|
Method Summary | |
---|---|
void |
free()
Frees memory recursively. |
WikiText[] |
get()
Gets array of relations (word or phrases). |
String |
getMeaningSummary()
Gets a summary of the semantic relation meaning (e.g. title of list of synonyms). |
static Map<Relation,WRelation[]> |
parse(LanguageType wikt_lang,
String page_title,
LanguageType lang_section,
POSText pt)
Parses text (related to the semantic relations, e.g. synonymy), creates and fills array of related words (WRelation) for each meaning of a word. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WRelation(String _meaning_summary, WikiText[] _phrases)
Method Detail |
---|
public WikiText[] get()
public String getMeaningSummary()
public void free()
public static Map<Relation,WRelation[]> parse(LanguageType wikt_lang, String page_title, LanguageType lang_section, POSText pt)
wikt_lang
- language of Wiktionarypage_title
- word which are described in this article 'text'lang_section
- language of this section of an articlept
- POSText defines POS stored in pt.text
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |