de.tudarmstadt.ukp.jwktl.parser.ru.wikokit.base.wikt.multi.en
Class WTranslationEn
java.lang.Object
de.tudarmstadt.ukp.jwktl.parser.ru.wikokit.base.wikt.multi.en.WTranslationEn
public class WTranslationEn
- extends Object
Translations of English Wiktionary word.
- See Also:
http://en.wiktionary.org/wiki/Wiktionary:Translations
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WTranslationEn
public WTranslationEn()
parse
public static WTranslation[] parse(LanguageType wikt_lang,
LanguageType lang_section,
String page_title,
POSText pt)
- Parses text (related to the POS), creates and fill array of translations (WTranslation).
- Parameters:
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
- Returns:
parseOneTranslationBox
public static WTranslation parseOneTranslationBox(LanguageType wikt_lang,
String page_title,
String text)
- Parses one translation box, i.e. extracts languages and a list of
translations (wikified words) for each language,
creates and fills WTranslation.
- Parameters:
wikt_lang
- language of Wiktionarypage_title
- word which are described in this article 'text'text
- translaton box text
- Returns:
- WTranslation or null if the translation text block was not found.
Copyright © 2011-2013 Ubiquitous Knowledge Processing (UKP) Lab. All Rights Reserved.