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 int minDocFreq()
public IDF.DocumentFrequencyAggregator add(Vector doc)
public IDF.DocumentFrequencyAggregator merge(IDF.DocumentFrequencyAggregator other)
public Vector idf()