|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--edu.stanford.nlp.classify.FeatureMaker
This class accepts a string and returns a HashMap that holds the counts for each token in the string.
| Constructor Summary | |
FeatureMaker(String s)
Constructor |
|
| Method Summary | |
HashMap |
features()
Returns the HashMap with the counts. |
int |
getSize()
Returns the number of features in the String. |
void |
printList()
Prints a list of the words in the HashMap. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FeatureMaker(String s)
| Method Detail |
public HashMap features()
public int getSize()
public void printList()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||