Compute scores that do not depend on intervals, but that
just assign a fixed score to each document; scores are read
from a file whose name is passed to the constructor.
Constructor Summary
public
DocumentRankScorer(String filename) Builds a document scorer by first reading the ranks from a file.
public
DocumentRankScorer(double[] score) Builds a document scorer with given scores.
Builds a document scorer by first reading the ranks from a file.
Ranks are saved as doubles (the first double is the rank of document 0
and so on).
Parameters: filename - the name of the rank file.