|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ScoredTermCallback
Interface for classes that want to be notified of "events" while iterating through a ScoredTermsCollection in term order.
Method Summary | |
---|---|
void |
apply(int docIndex,
MIFSDocument doc,
int frequency,
float score)
Notifies the implementor of a document score for the term specified in the last call to newTerm. |
void |
newTerm(int termIndex,
MIFSTerm term)
Called when a new term is encountered during iteration. |
Method Detail |
---|
void newTerm(int termIndex, MIFSTerm term)
termIndex
- the index of the term in the collectionterm
- the term itselfvoid apply(int docIndex, MIFSDocument doc, int frequency, float score) throws AIDAException
docIndex
- the index of the document for which this is the term scoredoc
- the document itselffrequency
- the frequency count of the term in the documentscore
- the term score for the document
AIDAException
- if there is an error during the callback.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |