public class Dictionary extends Object
Constructor and Description |
---|
Dictionary() |
Modifier and Type | Method and Description |
---|---|
protected void |
addVThatTaking(String verb) |
protected edu.stanford.nlp.tagger.maxent.TagCount |
get(String word) |
protected int |
getAmbClass(String word) |
protected int |
getCount(String word,
String tag) |
protected int |
getCountIn(String verb) |
protected int |
getCountPart(String verb) |
protected int |
getCountRB(String verb) |
protected int |
getCountThat(String verb) |
protected String[] |
getTags(String word) |
static void |
main(String[] args) |
protected void |
read(DataInputStream file) |
protected void |
read(String filename) |
protected void |
setAmbClasses(AmbiguityClasses ambClasses,
int veryCommonWordThresh,
TTags ttags)
This makes ambiguity classes from all words in the dictionary and remembers
their classes in the TagCounts
|
protected int |
sum(String word) |
protected void addVThatTaking(String verb)
protected int getCountPart(String verb)
protected int getCountThat(String verb)
protected int getCountIn(String verb)
protected int getCountRB(String verb)
protected edu.stanford.nlp.tagger.maxent.TagCount get(String word)
protected int sum(String word)
protected void read(String filename)
protected void read(DataInputStream file)
protected void setAmbClasses(AmbiguityClasses ambClasses, int veryCommonWordThresh, TTags ttags)
protected int getAmbClass(String word)
public static void main(String[] args)