Class DocumentBeginFeatureGenerator
java.lang.Object
opennlp.tools.util.featuregen.DocumentBeginFeatureGenerator
- All Implemented Interfaces:
opennlp.tools.util.featuregen.AdaptiveFeatureGenerator
public class DocumentBeginFeatureGenerator
extends Object
implements opennlp.tools.util.featuregen.AdaptiveFeatureGenerator
This feature generator creates document begin features.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidcreateFeatures(List<String> features, String[] tokens, int index, String[] previousOutcomes) Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface opennlp.tools.util.featuregen.AdaptiveFeatureGenerator
updateAdaptiveData
-
Constructor Details
-
DocumentBeginFeatureGenerator
public DocumentBeginFeatureGenerator()
-
-
Method Details
-
createFeatures
-
clearAdaptiveData
public void clearAdaptiveData()- Specified by:
clearAdaptiveDatain interfaceopennlp.tools.util.featuregen.AdaptiveFeatureGenerator
-