public class BinaryLocalTermWeighter extends AbstractLocalTermWeighter
vectorFactory| Constructor and Description |
|---|
BinaryLocalTermWeighter()
Creates a new
BinaryLocalTermWeighter. |
BinaryLocalTermWeighter(VectorFactory<? extends Vector> vectorFactory)
Creates a new
BinaryLocalTermWeighter. |
| Modifier and Type | Method and Description |
|---|---|
Vector |
computeLocalWeights(Vector counts)
Computes the new local weights for a given document.
|
computeLocalWeightsgetVectorFactory, setVectorFactorycloneequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclonepublic BinaryLocalTermWeighter()
BinaryLocalTermWeighter.public BinaryLocalTermWeighter(VectorFactory<? extends Vector> vectorFactory)
BinaryLocalTermWeighter.vectorFactory - The vector factory to use.public Vector computeLocalWeights(Vector counts)
LocalTermWeightercounts - The document to compute local weights for.