cc.mallet.grmm.learning.templates
Class SimilarTokensTemplate.WordFeatureBinner

java.lang.Object
  extended by cc.mallet.grmm.learning.templates.SimilarTokensTemplate.WordFeatureBinner
All Implemented Interfaces:
SimilarTokensTemplate.FeatureVectorBinner, java.io.Serializable
Direct Known Subclasses:
SimilarTokensTemplate.CapWordsBinner
Enclosing class:
SimilarTokensTemplate

public static class SimilarTokensTemplate.WordFeatureBinner
extends java.lang.Object
implements SimilarTokensTemplate.FeatureVectorBinner, java.io.Serializable

See Also:
Serialized Form

Constructor Summary
SimilarTokensTemplate.WordFeatureBinner()
           
SimilarTokensTemplate.WordFeatureBinner(java.util.regex.Pattern wordIncludePattern)
           
 
Method Summary
 java.lang.String computeBin(FeatureVector fv)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimilarTokensTemplate.WordFeatureBinner

public SimilarTokensTemplate.WordFeatureBinner()

SimilarTokensTemplate.WordFeatureBinner

public SimilarTokensTemplate.WordFeatureBinner(java.util.regex.Pattern wordIncludePattern)
Method Detail

computeBin

public java.lang.String computeBin(FeatureVector fv)
Specified by:
computeBin in interface SimilarTokensTemplate.FeatureVectorBinner