opennlp.tools.postag
Class MyPOSDictionary
java.lang.Object
opennlp.tools.postag.POSDictionary
opennlp.tools.postag.MyPOSDictionary
- All Implemented Interfaces:
- Iterable<String>, opennlp.tools.postag.MutableTagDictionary, opennlp.tools.postag.TagDictionary
public class MyPOSDictionary
- extends opennlp.tools.postag.POSDictionary
Methods inherited from class opennlp.tools.postag.POSDictionary |
create, equals, getTags, isCaseSensitive, iterator, put, serialize, toString |
MyPOSDictionary
public MyPOSDictionary()
parseOneEntryPerLine
public static ExtendedPOSDictionary parseOneEntryPerLine(Reader in,
TagInterpreter tago,
TagInterpreter tagd,
Set<String> knownFeats,
Set<String> knownPostags,
boolean allowInvalidFeats)
throws IOException
- Throws:
IOException
addTag
public void addTag(String word,
String tag)
createCopy
public static MyPOSDictionary createCopy(opennlp.tools.postag.POSDictionary original)
Copyright © 2012-2013 CoGrOO. All Rights Reserved.