|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.terrier.matching.models.WeightingModel org.terrier.matching.models.PerFieldNormWeightingModel org.terrier.matching.models.BM25F
public class BM25F
A convenience subclass of PerFieldNormWeightingModel setup to do specifically BM25F, as described by [Zaragoza TREC-2004]. [Robertson CIKM-2004] describe a different model, which does not normalise frequencies in a per-field manner.
References:
Field Summary |
---|
Fields inherited from class org.terrier.matching.models.WeightingModel |
---|
averageDocumentLength, c, documentFrequency, i, keyFrequency, numberOfDocuments, numberOfPointers, numberOfTokens, numberOfUniqueTerms, termFrequency |
Constructor Summary | |
---|---|
BM25F()
Constructs an instance of the BM25F |
Method Summary | |
---|---|
java.lang.String |
getInfo()
Returns the name of the model. |
Methods inherited from class org.terrier.matching.models.PerFieldNormWeightingModel |
---|
prepare, score, score, score, setCollectionStatistics, setEntryStatistics |
Methods inherited from class org.terrier.matching.models.WeightingModel |
---|
clone, getOverflowed, getParameter, setAverageDocumentLength, setDocumentFrequency, setKeyFrequency, setNumberOfDocuments, setNumberOfPointers, setNumberOfTokens, setNumberOfUniqueTerms, setParameter, setRequest, setTermFrequency, stirlingPower |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BM25F() throws java.lang.Exception
java.lang.Exception
Method Detail |
---|
public java.lang.String getInfo()
WeightingModel
getInfo
in interface Model
getInfo
in class PerFieldNormWeightingModel
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |