opennlp.uima.normalizer
Class StringDictionary
java.lang.Object
opennlp.uima.normalizer.StringDictionary
public class StringDictionary
- extends java.lang.Object
Method Summary |
java.lang.String |
get(StringList key)
|
void |
put(StringList key,
java.lang.String value)
|
void |
serialize(java.io.OutputStream out)
Writes the ngram instance to the given OutputStream . |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringDictionary
public StringDictionary()
StringDictionary
public StringDictionary(java.io.InputStream in)
throws java.io.IOException,
InvalidFormatException
- Initializes the current instance.
- Parameters:
in
-
- Throws:
java.io.IOException
InvalidFormatException
get
public java.lang.String get(StringList key)
put
public void put(StringList key,
java.lang.String value)
serialize
public void serialize(java.io.OutputStream out)
throws java.io.IOException
- Writes the ngram instance to the given
OutputStream
.
- Parameters:
out
-
- Throws:
java.io.IOException
- if an I/O Error during writing occures
Copyright © 2011 The Apache Software Foundation. All Rights Reserved.