|
||||||||||
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.WPOS
public class WPOS
Part of Speech may be a misnomer... It is the key descriptor for the lexical function of the term in question (such as 'noun', 'verb', etc). The definitions themselves come within its scope. In addition to the traditional “parts of speech” it has come to include entities that are less than words, such as initialisms and suffixes, and items that are more than words, such as idiomatic expressions, phrases and proverbs. This heading is nestable. It is most frequently in a level three heading, but may have a lower level for terms that have multiple etymologies or pronunciations. WPOS consists of
# Meaning (Definition (preceded by "#", which causes automatic numbering) + Quotations). # Semantic relations (synonyms, antonyms, etc.) only for this (first, second...) meaning # TranslationSee http://en.wiktionary.org/wiki/Wiktionary:Entry_layout_explained
wikt.sql.TLangPOS
Constructor Summary | |
---|---|
WPOS()
|
Method Summary | |
---|---|
void |
free()
Frees memory recursively. |
WMeaning[] |
getAllMeanings()
Gets all senses. |
Map<Relation,WRelation[]> |
getAllRelations()
Gets all relations. |
WTranslation[] |
getAllTranslation()
Gets all translations. |
POS |
getPOS()
Gets part of speech. |
static WPOS[] |
parse(LanguageType wikt_lang,
String page_title,
LangText lang_section)
Parses text, creates and fills array of meanings (WLanguage), semantic relations, translations. |
static POSText[] |
splitToPOSSections(LanguageType wikt_lang,
String page_title,
LangText source_langtext)
Splits text to fragments related to different parts of speech (POS). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WPOS()
Method Detail |
---|
public POS getPOS()
public WMeaning[] getAllMeanings()
public Map<Relation,WRelation[]> getAllRelations()
public WTranslation[] getAllTranslation()
public void free()
public static WPOS[] parse(LanguageType wikt_lang, String page_title, LangText lang_section)
wikt_lang
- language of Wiktionarypage_title
- word which are described in this article 'text'text
- LangText defines language of this POS stored in "text"
public static POSText[] splitToPOSSections(LanguageType wikt_lang, String page_title, LangText source_langtext)
page_title
- word which are described in this article text
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |