org.apache.mahout.utils.vectors.lucene
Class TFDFMapper
java.lang.Object
org.apache.mahout.utils.vectors.lucene.TFDFMapper
public class TFDFMapper
- extends Object
Not thread-safe
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TFDFMapper
public TFDFMapper(int numDocs,
Weight weight,
TermInfo termInfo)
setExpectations
public void setExpectations(String field,
long numTerms)
map
public void map(org.apache.lucene.util.BytesRef term,
int frequency)
getVector
public Vector getVector()
Copyright © 2008–2014 The Apache Software Foundation. All rights reserved.