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.
|
scala.Tuple3<Vector,long[],Object> |
idf()
Returns the current IDF vector, docFreq, number of documents
|
IDF.DocumentFrequencyAggregator |
merge(IDF.DocumentFrequencyAggregator other)
Merges another.
|
int |
minDocFreq() |
public DocumentFrequencyAggregator(int minDocFreq)
public DocumentFrequencyAggregator()
public IDF.DocumentFrequencyAggregator add(Vector doc)
public scala.Tuple3<Vector,long[],Object> idf()
public IDF.DocumentFrequencyAggregator merge(IDF.DocumentFrequencyAggregator other)
public int minDocFreq()