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 WeightingModelMatchingQueryTerms. defaultWeightingModeldefault weighting model for all termsprotected WeightingModel[]FeaturedScoringMatching. qiFeaturesprotected WeightingModelAbstractScoringMatching. wmFields in org.terrier.matching with type parameters of type WeightingModel Modifier and Type Field Description java.util.List<WeightingModel>MatchingQueryTerms.QueryTermProperties. termModelsThe term score modifiers associated with a particular query term.protected java.util.List<WeightingModel>PostingListManager. termModelsweighting models for each termMethods in org.terrier.matching with parameters of type WeightingModel Modifier and Type Method Description voidMatchingQueryTerms. setDefaultTermWeightingModel(WeightingModel weightingModel)Set the default weighting model to be used for terms that do NOT have an explicit WeightingModel set.voidMatchingQueryTerms. setTermProperty(Operator term, double weight, WeightingModel tsm)Sets the weight and a term score modifier for the given query term.voidMatchingQueryTerms. 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 classBB2This class implements the BB2 weighting model.classBM25This class implements the Okapi BM25 weighting model.classBM25FA convenience subclass of PerFieldNormWeightingModel setup to do specifically BM25F, as described by [Zaragoza TREC-2004].classCoordinateMatchA weighting model that returns 1 for each match.classDFICDivergence From Independence model based on Chi-square statistics (i.e., standardized Chi-squared distance from independence in term frequency tf).classDFIZDivergence From Independence model based on Standardization (i.e., standardized distance from independence in term frequency tf).classDFR_BM25This class implements the DFR_BM25 weighting model.classDFReeThis class implements the DFRee weighting model.classDFReeKLIMThis class implements the DFReeKLIM weighting model.classDFRWeightingModelThis class implements a modular Divergence from Randomness weighting model.classDirichletLMBayesian smoothing with Dirichlet Prior.classDlThis class implements a simple document length weighting model.classDLHThis class implements the DLH weighting model.classDLH13This class implements the DLH13 weighting model.classDPHThis class implements the DPH hypergeometric weighting model.classHiemstra_LMThis class implements the Hiemstra LM weighting model.classIFB2This class implements the IFB2 weighting model.classIn_expB2This class implements the In_expB2 weighting model, namely Inverse Expected Document Frequency model with Bernoulli after-effect and normalisation 2.classIn_expC2This class implements the In_expC2 weighting model.classInB2This class implements the InB2 weighting model, namely Inverse Document Frequency model with Bernoulli after-effect and normalisation 2.classInL2This class implements the InL2 weighting model.classJs_KLsThis class implements the Js_KLs weighting model, which is the product of two measures: the Jefrreys' divergence with the Kullback Leibler's divergence.classLemurTF_IDFThis class implements the TF_IDF weighting model as it is implemented in Lemur.classLGDThis class implements the LGD weighting model.classMDL2This class implements the MDL2 field-based weighting model.classML2This class implements the ML2 field-based weighting model.classNullA weighting model that returns 0 for each match.classPerFieldNormWeightingModelA class for generating arbitrary per-field normalisation models.classPL2This class implements the PL2 weighting model.classPL2FA convenience subclass of PerFieldNormWeightingModel setup to do specifically PL2F.classSingleFieldModelUse a normal weighting model on a pre-determine subset of the field.classStaticFeatureClass for query independent features loaded from file.classStaticScoreModifierWeightingModelBase abstract class for query independent features loaded from file.classTfThis class implements a simple Tf weighting model.classTF_IDFThis class implements the TF_IDF weighting model.classXSqrA_MThis 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 WeightingModelWeightingModel. clone()Clone this weighting modelstatic WeightingModelWeightingModelFactory. newInstance(java.lang.String name)Returns the requested weighting model.static WeightingModelWeightingModelFactory. 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 classMRFclasspBiLclasspBiL2 -
Uses of WeightingModel in org.terrier.matching.tsms
Subclasses of WeightingModel in org.terrier.matching.tsms Modifier and Type Class Description classRequiredTermModifierResets the scores of documents according to whether a term is required or not, and whether it appears in the retrieved documents.classTermInFieldModifierResets 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.QTPBuilderQuery.QTPBuilder. addWeightingModel(WeightingModel wm)Method parameters in org.terrier.querying.parser with type arguments of type WeightingModel Modifier and Type Method Description Query.QTPBuilderQuery.QTPBuilder. setWeightingModels(java.util.List<WeightingModel> wms)
-