|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.labs.minion.retrieval.TFIDF
com.sun.labs.minion.retrieval.TFIDFCount
public class TFIDFCount
A subclass of TFIDF that uses simple term frequencies rather than log term frequencies when calculating term weights.
Field Summary |
---|
Fields inherited from class com.sun.labs.minion.retrieval.TFIDF |
---|
log, logTag |
Constructor Summary | |
---|---|
TFIDFCount()
|
Method Summary | |
---|---|
float |
termWeight(WeightingComponents wc)
Calculates the weight for a particular term in a particular document, given a set of weighting components. |
Methods inherited from class com.sun.labs.minion.retrieval.TFIDF |
---|
initTerm |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TFIDFCount()
Method Detail |
---|
public float termWeight(WeightingComponents wc)
termWeight
in interface WeightingFunction
termWeight
in class TFIDF
wc
- a set of weighting components.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |