Interface SimilarTokensTemplate.FeatureVectorBinner

All Known Implementing Classes:
SimilarTokensTemplate.CapWordsBinner, SimilarTokensTemplate.WordFeatureBinner
Enclosing class:

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.

Method Summary
 java.lang.String computeBin(FeatureVector fv)

Method Detail


java.lang.String computeBin(FeatureVector fv)