|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.stanford.nlp.classify.VocabBuilder
Takes a ProbabilitySet and builds a hash table that contains the entire vocabulary. This hash table can then be used for smoothing.
Constructor Summary | |
VocabBuilder(ProbabilitySet features)
Constructor. |
Method Summary | |
HashMap |
build()
Builds and returns the HashMap. |
int |
getSize()
Returns the size of the vocabulary. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public VocabBuilder(ProbabilitySet features)
Method Detail |
public HashMap build()
public int getSize()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |