de.tudarmstadt.ukp.jwktl.parser.ru
Class WikokitToJWKTL

java.lang.Object
  extended by de.tudarmstadt.ukp.jwktl.parser.ru.WikokitToJWKTL

public class WikokitToJWKTL
extends Object

Helper class to convert parsed Wikokit entries into JWKTL data objects.

Author:
Yevgen Chebotar, Christian M. Meyer

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

WikokitToJWKTL

public WikokitToJWKTL()
Initializes the converter and its part of speech and relation type mappings.

Method Detail

convertPOS

public PartOfSpeech convertPOS(POS wikoPos)
Converts a Wikokit part of speech to JWKTL.


convertLang

public ILanguage convertLang(LanguageType wikoLang)
Converts a Wikokit language to JWKTL.


convertMeaningToSenseEntry

public WiktionarySense convertMeaningToSenseEntry(WiktionaryEntry entry,
                                                  String pageTitle,
                                                  WMeaning wikoMeaning,
                                                  Map<Relation,WRelation[]> wikoRelations,
                                                  WTranslation[] translations,
                                                  int meaningNr)
Converts a Wikokit sense to JWKTL.


addTranslationsToPosEntry

public void addTranslationsToPosEntry(WTranslation[] translations,
                                      WiktionaryEntry posEntry)
Add Wikokit translations to the Wiktionary entry.



Copyright © 2011-2013 Ubiquitous Knowledge Processing (UKP) Lab. All Rights Reserved.