cc.mallet.grmm.learning.templates
Interface SimilarTokensTemplate.FeatureVectorBinner
- All Known Implementing Classes:
- SimilarTokensTemplate.CapWordsBinner, SimilarTokensTemplate.WordFeatureBinner
- Enclosing class:
- SimilarTokensTemplate
public static interface SimilarTokensTemplate.FeatureVectorBinner
Interface for classes that ssigns each features vector to a String-valued bin.
Feature vectors is the same bin are assumed to be similar, so that they need a skip edge.
In this way the similarity metric used for generating skip edges can be completely customized.
computeBin
java.lang.String computeBin(FeatureVector fv)