public static class IDF.DocumentFrequencyAggregator
extends Object
implements scala.Serializable
Constructor and Description |
---|
DocumentFrequencyAggregator() |
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 DocumentFrequencyAggregator(int minDocFreq)
public DocumentFrequencyAggregator()
public IDF.DocumentFrequencyAggregator add(Vector doc)
public Vector idf()
public IDF.DocumentFrequencyAggregator merge(IDF.DocumentFrequencyAggregator other)
public int minDocFreq()