@PublicationReference(author="Susan T. Dumais", title="Improving the retrieval of information from external sources", year=1991, type=Journal, publication="Behavior Research Methods, Instruments, and Computers", pages={229,236}, url="http://www.google.com/url?sa=t&source=web&ct=res&cd=1&url=http%3A%2F%2Fwww.psychonomic.org%2Fsearch%2Fview.cgi%3Fid%3D5145&ei=o7joSdGEHY-itgPLre3tAQ&usg=AFQjCNEvm6PZEL6_Hk3XThI6DQ-gGx9EnQ&sig2=-gjFzNroJQirwGtwjaJvgQ") public class LogLocalTermWeighter extends AbstractLocalTermWeighter
vectorFactory
Constructor and Description |
---|
LogLocalTermWeighter()
Creates a new
LogLocalTermWeighter . |
LogLocalTermWeighter(VectorFactory<? extends Vector> vectorFactory)
Creates a new
LogLocalTermWeighter . |
Modifier and Type | Method and Description |
---|---|
Vector |
computeLocalWeights(Vector counts)
Computes the new local weights for a given document.
|
computeLocalWeights
getVectorFactory, setVectorFactory
clone
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone
public LogLocalTermWeighter()
LogLocalTermWeighter
.public LogLocalTermWeighter(VectorFactory<? extends Vector> vectorFactory)
LogLocalTermWeighter
.vectorFactory
- The vector factory to use.public Vector computeLocalWeights(Vector counts)
LocalTermWeighter
counts
- The document to compute local weights for.