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 Word
getFirstWord(java.lang.String label)
static GeneralDictionary
getInstance()
Singleton Access to the dictionaryjava.util.Vector<Word>
getWord(java.lang.String label)
returns a vector of Dictionary-Words for a given labelWord
getWordForId(java.lang.String id)
returns the Dictionary-Word for a given Word-IDstatic void
main(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)
-