public static class IDF.DocumentFrequencyAggregator
extends Object
implements scala.Serializable
Constructor and Description |
---|
IDF.DocumentFrequencyAggregator() |
IDF.DocumentFrequencyAggregator(int minDocFreq) |
Modifier and Type | Method and Description |
---|---|
IDF.DocumentFrequencyAggregator |
add(Vector doc)
Adds a new document.
|
Vector |
idf()
Returns the current IDF vector.
|
IDF.DocumentFrequencyAggregator |
merge(IDF.DocumentFrequencyAggregator other)
Merges another.
|
int |
minDocFreq() |
public IDF.DocumentFrequencyAggregator(int minDocFreq)
public IDF.DocumentFrequencyAggregator()
public int minDocFreq()
public IDF.DocumentFrequencyAggregator add(Vector doc)
public IDF.DocumentFrequencyAggregator merge(IDF.DocumentFrequencyAggregator other)
public Vector idf()