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 dictionary
    java.util.Vector<Word> getWord​(java.lang.String label)
    returns a vector of Dictionary-Words for a given label
    Word getWordForId​(java.lang.String id)
    returns the Dictionary-Word for a given Word-ID
    static void main​(java.lang.String[] args)  

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • getInstance

      public static GeneralDictionary getInstance()
      Singleton Access to the dictionary
    • getWord

      public java.util.Vector<Word> getWord​(java.lang.String label)
      returns a vector of Dictionary-Words for a given label
    • getFirstWord

      public Word getFirstWord​(java.lang.String label)
    • getWordForId

      public Word getWordForId​(java.lang.String id)
      returns the Dictionary-Word for a given Word-ID
    • main

      public static void main​(java.lang.String[] args)