Uses of Class
org.terrier.matching.models.WeightingModel
-
Packages that use WeightingModel Package Description org.terrier.matching Provides the classes and interfaces used for matching documents to queries.org.terrier.matching.matchops This package contains matching Operators.org.terrier.matching.models Provides the classes that implement various weighting models.org.terrier.matching.models.dependence Weighting models for term dependence modelsorg.terrier.matching.tsms Provides the interface and classes that implement the term score modifiers, which modify the scores assigned to documents for a particular term.org.terrier.querying.parser Provides the parser specification and the classes that implement the query language of the Terrier platform. -
-
Uses of WeightingModel in org.terrier.matching
Fields in org.terrier.matching declared as WeightingModel Modifier and Type Field Description protected WeightingModel
MatchingQueryTerms. defaultWeightingModel
default weighting model for all termsprotected WeightingModel[]
FeaturedScoringMatching. qiFeatures
protected WeightingModel
AbstractScoringMatching. wm
Fields in org.terrier.matching with type parameters of type WeightingModel Modifier and Type Field Description java.util.List<WeightingModel>
MatchingQueryTerms.QueryTermProperties. termModels
The term score modifiers associated with a particular query term.protected java.util.List<WeightingModel>
PostingListManager. termModels
weighting models for each termMethods in org.terrier.matching with parameters of type WeightingModel Modifier and Type Method Description void
MatchingQueryTerms. setDefaultTermWeightingModel(WeightingModel weightingModel)
Set the default weighting model to be used for terms that do NOT have an explicit WeightingModel set.void
MatchingQueryTerms. setTermProperty(Operator term, double weight, WeightingModel tsm)
Sets the weight and a term score modifier for the given query term.void
MatchingQueryTerms. setTermProperty(Operator term, WeightingModel tsm)
Sets a term score modifier for the given query term.Constructors in org.terrier.matching with parameters of type WeightingModel Constructor Description AbstractScoringMatching(Index _index, Matching _parent, WeightingModel _wm)
AbstractScoringMatching(Index _index, Matching _parent, WeightingModel _wm, java.util.function.Predicate<org.apache.commons.lang3.tuple.Pair<java.lang.String,java.util.Set<java.lang.String>>> _filter)
FatScoringMatching(Index _index, Matching _parent, WeightingModel _wm)
FatScoringMatching(Index _index, Matching _parent, WeightingModel _wm, java.util.function.Predicate<org.apache.commons.lang3.tuple.Pair<java.lang.String,java.util.Set<java.lang.String>>> _filter)
QueryTermProperties(int _index, double w, WeightingModel model)
A constructor for setting the weight and a term score modifier for a term.QueryTermProperties(int _index, double w, WeightingModel model, EntryStatistics _stats)
A constructor for setting a weight, a term score modifier and the term code for a query term.QueryTermProperties(int _index, WeightingModel model)
A constructor for setting a term score modifier for a term.QueryTermProperties(int _index, WeightingModel model, EntryStatistics _stats)
A constructor for setting a term score modifier for a term and its term code.ScoringMatching(Index _index, Matching _parent, WeightingModel _wm)
ScoringMatching(Index _index, Matching _parent, WeightingModel _wm, java.util.function.Predicate<org.apache.commons.lang3.tuple.Pair<java.lang.String,java.util.Set<java.lang.String>>> _filter)
ScoringMatchingWithFat(Index _index, Matching _parent, WeightingModel _wm)
ScoringMatchingWithFat(Index _index, Matching _parent, WeightingModel _wm, java.util.function.Predicate<org.apache.commons.lang3.tuple.Pair<java.lang.String,java.util.Set<java.lang.String>>> _filter)
-
Uses of WeightingModel in org.terrier.matching.matchops
Methods in org.terrier.matching.matchops that return WeightingModel Modifier and Type Method Description WeightingModel[]
MatchingEntry. getWmodels()
Constructors in org.terrier.matching.matchops with parameters of type WeightingModel Constructor Description MatchingEntry(IterablePosting postingIterator, EntryStatistics entryStats, double keyFreq, WeightingModel[] wmodels, org.terrier.matching.matchops.MatchingEntry.Requirement required, java.util.Set<java.lang.String> tags)
-
Uses of WeightingModel in org.terrier.matching.models
Subclasses of WeightingModel in org.terrier.matching.models Modifier and Type Class Description class
BB2
This class implements the BB2 weighting model.class
BM25
This class implements the Okapi BM25 weighting model.class
BM25F
A convenience subclass of PerFieldNormWeightingModel setup to do specifically BM25F, as described by [Zaragoza TREC-2004].class
CoordinateMatch
A weighting model that returns 1 for each match.class
DFIC
Divergence From Independence model based on Chi-square statistics (i.e., standardized Chi-squared distance from independence in term frequency tf).class
DFIZ
Divergence From Independence model based on Standardization (i.e., standardized distance from independence in term frequency tf).class
DFR_BM25
This class implements the DFR_BM25 weighting model.class
DFRee
This class implements the DFRee weighting model.class
DFReeKLIM
This class implements the DFReeKLIM weighting model.class
DFRWeightingModel
This class implements a modular Divergence from Randomness weighting model.class
DirichletLM
Bayesian smoothing with Dirichlet Prior.class
Dl
This class implements a simple document length weighting model.class
DLH
This class implements the DLH weighting model.class
DLH13
This class implements the DLH13 weighting model.class
DPH
This class implements the DPH hypergeometric weighting model.class
Hiemstra_LM
This class implements the Hiemstra LM weighting model.class
IFB2
This class implements the IFB2 weighting model.class
In_expB2
This class implements the In_expB2 weighting model, namely Inverse Expected Document Frequency model with Bernoulli after-effect and normalisation 2.class
In_expC2
This class implements the In_expC2 weighting model.class
InB2
This class implements the InB2 weighting model, namely Inverse Document Frequency model with Bernoulli after-effect and normalisation 2.class
InL2
This class implements the InL2 weighting model.class
Js_KLs
This class implements the Js_KLs weighting model, which is the product of two measures: the Jefrreys' divergence with the Kullback Leibler's divergence.class
LemurTF_IDF
This class implements the TF_IDF weighting model as it is implemented in Lemur.class
LGD
This class implements the LGD weighting model.class
MDL2
This class implements the MDL2 field-based weighting model.class
ML2
This class implements the ML2 field-based weighting model.class
Null
A weighting model that returns 0 for each match.class
PerFieldNormWeightingModel
A class for generating arbitrary per-field normalisation models.class
PL2
This class implements the PL2 weighting model.class
PL2F
A convenience subclass of PerFieldNormWeightingModel setup to do specifically PL2F.class
SingleFieldModel
Use a normal weighting model on a pre-determine subset of the field.class
StaticFeature
Class for query independent features loaded from file.class
StaticScoreModifierWeightingModel
Base abstract class for query independent features loaded from file.class
Tf
This class implements a simple Tf weighting model.class
TF_IDF
This class implements the TF_IDF weighting model.class
XSqrA_M
This class implements the XSqrA_M weighting model, which computed the inner product of Pearson's X^2 with the information growth computed with the multinomial M.Methods in org.terrier.matching.models that return WeightingModel Modifier and Type Method Description WeightingModel
WeightingModel. clone()
Clone this weighting modelstatic WeightingModel
WeightingModelFactory. newInstance(java.lang.String name)
Returns the requested weighting model.static WeightingModel
WeightingModelFactory. newInstance(java.lang.String name, Index index)
Returns the requested weighting model for the specified index. -
Uses of WeightingModel in org.terrier.matching.models.dependence
Subclasses of WeightingModel in org.terrier.matching.models.dependence Modifier and Type Class Description class
MRF
class
pBiL
class
pBiL2
-
Uses of WeightingModel in org.terrier.matching.tsms
Subclasses of WeightingModel in org.terrier.matching.tsms Modifier and Type Class Description class
RequiredTermModifier
Resets the scores of documents according to whether a term is required or not, and whether it appears in the retrieved documents.class
TermInFieldModifier
Resets the scores of documents according to whether a term appears in a given set of fields. -
Uses of WeightingModel in org.terrier.querying.parser
Methods in org.terrier.querying.parser with parameters of type WeightingModel Modifier and Type Method Description Query.QTPBuilder
Query.QTPBuilder. addWeightingModel(WeightingModel wm)
Method parameters in org.terrier.querying.parser with type arguments of type WeightingModel Modifier and Type Method Description Query.QTPBuilder
Query.QTPBuilder. setWeightingModels(java.util.List<WeightingModel> wms)
-