public class TfIdfFeatureWeighter extends Object implements IFeatureWeighter
| Constructor and Description |
|---|
TfIdfFeatureWeighter(int numDocs,
int[] df) |
public double weight(int feature,
int tf)
IFeatureWeighterweight in interface IFeatureWeighterfeature - 词的idCopyright © 2014–2021 码农场. All rights reserved.