de.tudarmstadt.ukp.jwktl.parser.ru.wikokit.base.wikt.multi.ru
Class WTranslationEntryRu
java.lang.Object
de.tudarmstadt.ukp.jwktl.parser.ru.wikokit.base.wikt.multi.ru.WTranslationEntryRu
public class WTranslationEntryRu
- extends Object
One line in the Translation section, i.e. a translation to one language,
e.g. "|en=[[airplane]], [[plane]], [[aircraft]]".
Method Summary |
static WTranslationEntry |
parse(String page_title,
String text)
Parses one entry (one line) of a translation box,
extracts a language and a list of translations (wikified words) for this language,
creates and fills WTranslationEntry. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WTranslationEntryRu
public WTranslationEntryRu()
parse
public static WTranslationEntry parse(String page_title,
String text)
- Parses one entry (one line) of a translation box,
extracts a language and a list of translations (wikified words) for this language,
creates and fills WTranslationEntry.
- Parameters:
wikt_lang
- language of Wiktionarypage_title
- word which are described in this article 'text'text
- translaton box text
- Returns:
- WTranslationEntry or null if the translation language or translation text are absent.
Copyright © 2011-2013 Ubiquitous Knowledge Processing (UKP) Lab. All Rights Reserved.