Class StringDictionary


  • public class StringDictionary
    extends Object
    • Constructor Detail

      • StringDictionary

        public StringDictionary()
    • Method Detail

      • get

        public String get​(opennlp.tools.util.StringList key)
        Returns a corresponding String value from hash map.
        Parameters:
        key - key to get value with
      • put

        public void put​(opennlp.tools.util.StringList key,
                        String value)
        Adds a new entry to hash map.
        Parameters:
        key - key to put
        value - value to put