public interface TermWeightNormalizer extends CloneableSerializable
| Modifier and Type | Method and Description |
|---|---|
void |
normalizeWeights(Vector weights,
Vector counts,
Vector globalWeights)
Normalizes the given weight vector.
|
clonevoid normalizeWeights(Vector weights, Vector counts, Vector globalWeights)
weights - The weights to normalize. Contains an input and should be modified
to create an output. Cannot be null.counts - The term counts for the document to normalize. Cannot be null.globalWeights - The global weights to use in to create the weights, if any. Can be
null.