edu.stanford.nlp.tagger.maxent
Class CTBunkDict
java.lang.Object
edu.stanford.nlp.tagger.maxent.CTBunkDict
public class CTBunkDict
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static CTBunkDict getInstance()
getTag
public static String getTag(String tag,
String word)
- Returns "1" as true if the dictionary listed this word with this tag,
and "0" otherwise.
- Parameters:
tag
- The POS tagword
- The word
- Returns:
- "1" as true if the dictionary listed this word with this tag,
and "0" otherwise.
getPathPrefix
public static String getPathPrefix()
setPathPrefix
public static void setPathPrefix(String pathPrefix)
Stanford NLP Group