public class DirichletLM extends WeightingModel
The retrieval performance of this weighting model has been empirically verified to be similar to that reported below. This model is formulated such that all scores are > 0.
A Study of Smoothing Methods for Language Models Applied to Information Retrieval. Zhai & Lafferty, ACM Transactions on Information Systems, Vol. 22, No. 2, April 2004, Pages 179--214.
|Constructor and Description|
Constructs an instance of DirichletLM
|Modifier and Type||Method and Description|
Returns the name of the model.
This method provides the contract for implementing weighting models.
clone, getOverflowed, getParameter, prepare, score, setCollectionStatistics, setEntryStatistics, setKeyFrequency, setParameter, setRequest
public double score(double tf, double docLength)
Terrier Information Retrieval Platform4.2. Copyright © 2004-2016, University of Glasgow