public class pBiL extends WeightingModel
| Modifier and Type | Field and Description |
|---|---|
protected static GammaFunction |
gf |
protected static double |
REC_LOG_2 |
averageDocumentLength, c, cs, documentFrequency, es, i, keyFrequency, numberOfDocuments, numberOfPointers, numberOfTokens, numberOfUniqueTerms, rq, termFrequency| Modifier and Type | Method and Description |
|---|---|
String |
getInfo()
Returns the name of the model.
|
double |
score(double matchingNGrams,
double docLength)
This method provides the contract for implementing weighting models.
|
void |
setEntryStatistics(EntryStatistics _es)
Sets entry statistics.
|
clone, getOverflowed, getParameter, prepare, score, setCollectionStatistics, setKeyFrequency, setParameter, setRequestprotected static final double REC_LOG_2
protected static final GammaFunction gf
public String getInfo()
WeightingModelgetInfo in interface ModelgetInfo in class WeightingModelpublic void setEntryStatistics(EntryStatistics _es)
WeightingModelsetEntryStatistics in class WeightingModelpublic double score(double matchingNGrams,
double docLength)
WeightingModelscore in class WeightingModelmatchingNGrams - The term frequency in the documentdocLength - the document's lengthTerrier Information Retrieval Platform 5.1. Copyright © 2004-2019, University of Glasgow