opennlp.tools.doccat
Class NGramFeatureGenerator

java.lang.Object
  extended by opennlp.tools.doccat.NGramFeatureGenerator
All Implemented Interfaces:
FeatureGenerator

public class NGramFeatureGenerator
extends java.lang.Object
implements FeatureGenerator


Constructor Summary
NGramFeatureGenerator()
           
 
Method Summary
 java.util.Collection<java.lang.String> extractFeatures(java.lang.String[] text)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NGramFeatureGenerator

public NGramFeatureGenerator()
Method Detail

extractFeatures

public java.util.Collection<java.lang.String> extractFeatures(java.lang.String[] text)
Specified by:
extractFeatures in interface FeatureGenerator


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.