anl.aida.score
Interface Scorer

All Known Implementing Classes:
SVScorer, TFIDFScorer, TFScorer

public interface Scorer

Interface for classes that can score a term w/r to a document.


Method Summary
 float getScore(java.lang.String term, DocumentID id)
          Gets a score for the specified term w/r to the specified document.
 

Method Detail

getScore

float getScore(java.lang.String term,
               DocumentID id)
               throws MIFSRuntimeException
Gets a score for the specified term w/r to the specified document.

Parameters:
term - the term whose score we want
id - the id of the document
Returns:
a score for the specified term w/r to the specified document.
Throws:
MIFSRuntimeException - if there's an error getting the score.