|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectanl.aida.score.AbstractSTCScorer
anl.aida.score.TFIDFScorer
public class TFIDFScorer
Scorer that returns the tf/idf score for a term in a document.
Field Summary |
---|
Fields inherited from class anl.aida.score.AbstractSTCScorer |
---|
stc |
Constructor Summary | |
---|---|
TFIDFScorer(ScoredTermsCollection stc)
|
Method Summary | |
---|---|
float |
getScore(java.lang.String term,
DocumentID id)
Gets the tf/idf score for the specified term w/r to the specified document. |
Methods inherited from class anl.aida.score.AbstractSTCScorer |
---|
getTermIndex |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TFIDFScorer(ScoredTermsCollection stc)
Method Detail |
---|
public float getScore(java.lang.String term, DocumentID id)
getScore
in interface Scorer
term
- the term whose score we wantid
- the id of the document
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |