public class DFIC extends WeightingModel
For more information:
A Nonparametric Term Weighting Method for Information Retrieval Based on Measuring the Divergence from Independence. Kocabas, Dincer & Karaoglan, International Journal of Information Retrieval, (to appear), 2013. doi: 10.1007/s10791-013-9225-4.
IRRA at TREC 2012: Index Term Weighting based on Divergence From Independence Model. Dincer, Kocabas & Karaoglan, NIST Special Publication, Proc. of the 20th Text Retrieval Conference, TREC'12, Gaitersburg, MD, USA, 2012.
averageDocumentLength, c, cs, documentFrequency, es, i, keyFrequency, numberOfDocuments, numberOfPointers, numberOfTokens, numberOfUniqueTerms, rq, termFrequency
Constructor and Description |
---|
DFIC() |
Modifier and Type | Method and Description |
---|---|
String |
getInfo()
Returns the name of the model.
|
double |
score(double tf,
double docLength)
This method provides the contract for implementing weighting models.
|
double |
score(double tf,
double docLength,
double n_t,
double F_t,
double keyFrequency)
Deprecated.
|
clone, getOverflowed, getParameter, prepare, score, setCollectionStatistics, setEntryStatistics, setKeyFrequency, setParameter, setRequest
public String getInfo()
WeightingModel
getInfo
in interface Model
getInfo
in class WeightingModel
public double score(double tf, double docLength)
WeightingModel
score
in class WeightingModel
tf
- The term frequency in the documentdocLength
- the document's length@Deprecated public double score(double tf, double docLength, double n_t, double F_t, double keyFrequency)
score
in class WeightingModel
tf
- The term frequency in the documentdocLength
- the document's lengthn_t
- The document frequency of the termF_t
- the term frequency in the collectionkeyFrequency
- the term frequency in the queryTerrier 4.0. Copyright © 2004-2014 University of Glasgow