|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectanl.aida.score.ScorerThresholdFilter
public class ScorerThresholdFilter
TermScoreFilter that passes documents whose term score is greater than or equal to some threshold.
Field Summary | |
---|---|
private Scorer |
scorer
|
private float |
threshold
|
Constructor Summary | |
---|---|
ScorerThresholdFilter(Scorer scorer,
float threshold)
|
Method Summary | |
---|---|
boolean |
evaluate(java.lang.String term,
DocumentID id)
Evaluates the term and document. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private Scorer scorer
private float threshold
Constructor Detail |
---|
public ScorerThresholdFilter(Scorer scorer, float threshold)
Method Detail |
---|
public boolean evaluate(java.lang.String term, DocumentID id)
evaluate
in interface TermScoreFilter
term
- the term to evaluate againstid
- the id of the document to evaluate
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |