edu.stanford.nlp.classify
Class FeatureMaker

java.lang.Object
  |
  +--edu.stanford.nlp.classify.FeatureMaker

public class FeatureMaker
extends Object

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

FeatureMaker

public FeatureMaker(String s)
Constructor

Method Detail

features

public HashMap features()
Returns the HashMap with the counts.


getSize

public int getSize()
Returns the number of features in the String.


printList

public void printList()
Prints a list of the words in the HashMap.



Stanford NLP Group