Package it.unimi.dsi.mg4j.search.score

Classes for assigning scores to documents.

See:
          Description

Interface Summary
ScoredDocumentIterator A document iterator with additional methods that return the score of the current document, either with respect to a specified index (ScoredDocumentIterator.score(Index)), or globally (ScoredDocumentIterator.score()).
Scorer An object with a method that takes a DocumentIterator and returns a ScoredDocumentIterator implementing a certain score strategy.
 

Class Summary
AbstractScorer An abstract implementation of Scorer that scores a document iterator in such a way that one can make calls to the score methods and to the intervalIterator methods in any order and for any number of times.
ClarkeCormackScorer Computes the Clarke-Cormack score of all interval iterators of a document.
DocumentRankScorer 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.
LinearAggregator Merges a number of ScoredDocumentIterators, obtaining a new ScoredDocumentIterator.
 

Package it.unimi.dsi.mg4j.search.score Description

Classes for assigning scores to documents. The content of this package is highly experimental, and subject to change.