|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.tudarmstadt.ukp.jwktl.parser.ru.WikokitToJWKTL
public class WikokitToJWKTL
Helper class to convert parsed Wikokit entries into JWKTL data objects.
Constructor Summary | |
---|---|
WikokitToJWKTL()
Initializes the converter and its part of speech and relation type mappings. |
Method Summary | |
---|---|
void |
addTranslationsToPosEntry(WTranslation[] translations,
WiktionaryEntry posEntry)
Add Wikokit translations to the Wiktionary entry. |
ILanguage |
convertLang(LanguageType wikoLang)
Converts a Wikokit language to JWKTL. |
WiktionarySense |
convertMeaningToSenseEntry(WiktionaryEntry entry,
String pageTitle,
WMeaning wikoMeaning,
Map<Relation,WRelation[]> wikoRelations,
WTranslation[] translations,
int meaningNr)
Converts a Wikokit sense to JWKTL. |
PartOfSpeech |
convertPOS(POS wikoPos)
Converts a Wikokit part of speech to JWKTL. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WikokitToJWKTL()
Method Detail |
---|
public PartOfSpeech convertPOS(POS wikoPos)
public ILanguage convertLang(LanguageType wikoLang)
public WiktionarySense convertMeaningToSenseEntry(WiktionaryEntry entry, String pageTitle, WMeaning wikoMeaning, Map<Relation,WRelation[]> wikoRelations, WTranslation[] translations, int meaningNr)
public void addTranslationsToPosEntry(WTranslation[] translations, WiktionaryEntry posEntry)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |