public class DPH extends WeightingModel
References
averageDocumentLength, c, cs, documentFrequency, es, i, keyFrequency, numberOfDocuments, numberOfPointers, numberOfTokens, numberOfUniqueTerms, rq, termFrequency| Constructor and Description | 
|---|
| DPH()A default constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getInfo()Returns the name of the model. | 
| double | score(double tf,
     double docLength)Uses DPH to compute a weight for a term in a document. | 
clone, getOverflowed, getParameter, prepare, score, setCollectionStatistics, setEntryStatistics, setKeyFrequency, setParameter, setRequestpublic final String getInfo()
getInfo in interface ModelgetInfo in class WeightingModelpublic final double score(double tf,
           double docLength)
score in class WeightingModeltf - The term frequency in the documentdocLength - the document's lengthTerrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow