public class CommonTermWeighterFactory
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static CompositeLocalGlobalTermWeighter |
createLogDominanceWeighter()
Creates a log-dominance weighting scheme.
|
static CompositeLocalGlobalTermWeighter |
createLogEntropyWeighter()
Creates a log-entropy weighting scheme.
|
static CompositeLocalGlobalTermWeighter |
createTFIDFWeighter()
Creates a term-frequency inverse-document-frequency (TF-IDF) weighting
scheme but without any normalization.
|
static CompositeLocalGlobalTermWeighter |
createTFIDFWeighterWithUnitNormalization()
Creates a term-frequency inverse-document-frequency (TF-IDF) weighting
scheme with unit vector normalization (2-norm).
|
static CompositeLocalGlobalTermWeighter |
createTFWeighter()
Creates a term-frequency (TF) weighting scheme.
|
public static CompositeLocalGlobalTermWeighter createTFWeighter()
@PublicationReference(author="Wikipedia", title="tf-idf", type=WebPage, url="http://en.wikipedia.org/wiki/tf-idf", year=2009) public static CompositeLocalGlobalTermWeighter createTFIDFWeighter()
public static CompositeLocalGlobalTermWeighter createTFIDFWeighterWithUnitNormalization()
@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 static CompositeLocalGlobalTermWeighter createLogEntropyWeighter()
public static CompositeLocalGlobalTermWeighter createLogDominanceWeighter()