opennlp.tools.postag
Class MyPOSDictionary

java.lang.Object
  extended by opennlp.tools.postag.POSDictionary
      extended by 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


Constructor Summary
MyPOSDictionary()
           
 
Method Summary
 void addTag(String word, String tag)
           
static MyPOSDictionary createCopy(opennlp.tools.postag.POSDictionary original)
           
static ExtendedPOSDictionary parseOneEntryPerLine(Reader in, TagInterpreter tago, TagInterpreter tagd, Set<String> knownFeats, Set<String> knownPostags, boolean allowInvalidFeats)
           
 
Methods inherited from class opennlp.tools.postag.POSDictionary
create, equals, getTags, isCaseSensitive, iterator, put, serialize, toString
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MyPOSDictionary

public MyPOSDictionary()
Method Detail

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.