de.tudarmstadt.ukp.jwktl.parser.ru.wikokit.base.wikt.multi.en
Class WTranslationEntryEn
java.lang.Object
de.tudarmstadt.ukp.jwktl.parser.ru.wikokit.base.wikt.multi.en.WTranslationEntryEn
public class WTranslationEntryEn
- extends Object
One line in the Translation section, i.e. a translation to one language,
e.g. "* Latvian: {{t|lt|oranžs}}".
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
from template (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 |
WTranslationEntryEn
public WTranslationEntryEn()
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
from template (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.
- See Also:
http://en.wiktionary.org/wiki/Template_talk:t#Documentation
Copyright © 2011-2013 Ubiquitous Knowledge Processing (UKP) Lab. All Rights Reserved.