Package de.swa.gmaf.extensions.defaults
Class GeneralDictionary
java.lang.Object
de.swa.gmaf.extensions.defaults.GeneralDictionary
public class GeneralDictionary
extends java.lang.Object
General Dictionary to represent words and word-stems
- Author:
- stefan_wagenpfeil
-
Method Summary
Modifier and Type Method Description WordgetFirstWord(java.lang.String label)static GeneralDictionarygetInstance()Singleton Access to the dictionaryjava.util.Vector<Word>getWord(java.lang.String label)returns a vector of Dictionary-Words for a given labelWordgetWordForId(java.lang.String id)returns the Dictionary-Word for a given Word-IDstatic voidmain(java.lang.String[] args)
-
Method Details
-
getInstance
Singleton Access to the dictionary -
getWord
returns a vector of Dictionary-Words for a given label -
getFirstWord
-
getWordForId
returns the Dictionary-Word for a given Word-ID -
main
public static void main(java.lang.String[] args)
-