|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectanl.aida.score.OccurrenceFilter
public class OccurrenceFilter
TermScoreFilter implemenation that passes a document if the term occurs in the document.
Field Summary | |
---|---|
private TFScorer |
scorer
|
Constructor Summary | |
---|---|
OccurrenceFilter(ScoredTermsCollection stc)
|
Method Summary | |
---|---|
boolean |
evaluate(java.lang.String term,
DocumentID id)
Evaluates the term and document to see if the term occurs in the document. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private TFScorer scorer
Constructor Detail |
---|
public OccurrenceFilter(ScoredTermsCollection stc)
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 |