|
Terrier IR Platform 2.2.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TermScoreModifier
The interface that should be implemented by each class that assigns or modifies a score of a term for a document.
Method Summary | |
---|---|
java.lang.Object |
clone()
Return a clone of this object (deep copy). |
java.lang.String |
getName()
Returns the name of the modifier. |
int |
hashCode()
|
int |
modifyScores(double[] termScores,
int[][] pointers)
Modifies the scores of the documents for a given set of pointers, or postings. |
Method Detail |
---|
int modifyScores(double[] termScores, int[][] pointers)
termScores
- double[] the scores of the documents.pointers
- int[][] the vectors that contain the pointers,
that is pairs of document identifiers and term frequencies.
java.lang.String getName()
java.lang.Object clone()
int hashCode()
hashCode
in class java.lang.Object
|
Terrier IR Platform 2.2.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |