public class StaticFeature extends StaticScoreModifierWeightingModel
StaticScoreModifierWeightingModel
for supported
input file formats.asFloat, FstaticMap, FstaticScores, map, source, staticMap, staticScores
averageDocumentLength, c, cs, documentFrequency, es, i, keyFrequency, numberOfDocuments, numberOfPointers, numberOfTokens, numberOfUniqueTerms, rq, termFrequency
Constructor and Description |
---|
StaticFeature(double[] scores) |
StaticFeature(String[] params) |
StaticFeature(gnu.trove.TIntDoubleHashMap scores) |
Modifier and Type | Method and Description |
---|---|
double |
score(Posting p)
Returns score
|
castToDoubleArr, castToDoubleArr, castToFloatArr, castToFloatArr, getInfo, getScoreD, getScoreF, getSource, loadDocid2score, loadfloatOOS, loadOOS, loadScorefile, max, min, printStats, score, standardNormalisation
clone, getOverflowed, getParameter, prepare, setCollectionStatistics, setEntryStatistics, setKeyFrequency, setParameter, setRequest
public StaticFeature(String[] params)
public StaticFeature(double[] scores)
public StaticFeature(gnu.trove.TIntDoubleHashMap scores)
public double score(Posting p)
WeightingModel
score
in class StaticScoreModifierWeightingModel
Terrier Information Retrieval Platform 5.1. Copyright © 2004-2019, University of Glasgow