public class WRelation extends Object
Constructor and Description |
---|
WRelation(String _meaning_summary,
WikiText[] _phrases) |
Modifier and Type | Method and Description |
---|---|
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.
|
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.
|
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.textCopyright © 2011-2016 Ubiquitous Knowledge Processing (UKP) Lab. All Rights Reserved.