|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use WeightingModel | |
---|---|
org.terrier.matching | Provides the classes and interfaces used for matching documents to queries. |
org.terrier.matching.daat | Provides classes that implement a document-at-a-time (DAAT) matching strategy. |
org.terrier.matching.models | Provides the classes that implement various weighting models. |
org.terrier.matching.taat | Provides classes that implement a term-at-a-time (TAAT) matching strategy. |
org.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. |
Uses of WeightingModel in org.terrier.matching |
---|
Fields in org.terrier.matching declared as WeightingModel | |
---|---|
protected WeightingModel |
MatchingQueryTerms.defaultWeightingModel
default weighting model for all terms |
protected WeightingModel[][] |
BaseMatching.wm
|
Methods in org.terrier.matching that return WeightingModel | |
---|---|
WeightingModel[] |
MatchingQueryTerms.getTermWeightingModels(java.lang.String term)
Returns the weighting models to be used for a given term. |
Methods in org.terrier.matching with parameters of type WeightingModel | |
---|---|
void |
PostingListManager.addSingleTerm(java.lang.String queryTerm,
double weight,
EntryStatistics entryStats,
WeightingModel[] wmodels)
Add a single term to those to be matched for this query. |
void |
PostingListManager.addSingleTermAlternatives(java.lang.String[] terms,
java.lang.String stringForm,
double weight,
EntryStatistics[] entryStats,
WeightingModel[] wmodels)
Adds a synonym group to the matching process. |
void |
PostingListManager.addSingleTermAlternatives(java.lang.String[] terms,
java.lang.String stringForm,
double weight,
EntryStatistics entryStats,
WeightingModel[] wmodels)
Adds a synonym group to the matching process. |
protected void |
OldBasicMatching.assignScores(int i,
WeightingModel[] wModels,
ResultSet rs,
IterablePosting postings,
LexiconEntry lEntry,
double queryTermWeight)
Assign scores method |
void |
MatchingQueryTerms.setDefaultTermWeightingModel(WeightingModel weightingModel)
Set the default weighting model to be used for all terms |
void |
MatchingQueryTerms.setTermProperty(java.lang.String term,
double weight,
WeightingModel tsm)
Sets the weight and a term score modifier for the given query term. |
void |
MatchingQueryTerms.setTermProperty(java.lang.String term,
WeightingModel tsm)
Sets a term score modifier for the given query term. |
Constructors in org.terrier.matching with parameters of type WeightingModel | |
---|---|
MatchingQueryTerms.QueryTermProperties(int _index,
double w,
WeightingModel model)
A constructor for setting the weight and a term score modifier for a term. |
|
MatchingQueryTerms.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. |
|
MatchingQueryTerms.QueryTermProperties(int _index,
WeightingModel model)
A constructor for setting a term score modifier for a term. |
|
MatchingQueryTerms.QueryTermProperties(int _index,
WeightingModel model,
EntryStatistics _stats)
A constructor for setting a term score modifier for a term and its term code. |
Uses of WeightingModel in org.terrier.matching.daat |
---|
Methods in org.terrier.matching.daat with parameters of type WeightingModel | |
---|---|
protected double |
FullNoPLM.scoreIt(WeightingModel[] wModels,
Posting posting)
calculate the score for this posting using the specified weighting models |
Uses of WeightingModel in org.terrier.matching.models |
---|
Subclasses of WeightingModel in org.terrier.matching.models | |
---|---|
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 |
DFI0
Implementation of the basic Divergence from Independence model. |
class |
DFR_BM25
This class implements the DFR_BM25 weighting model. |
class |
DFRee
This class implements the DFRee weighting model. |
class |
DFRWeightingModel
This class implements a modular Divergence from Randomness weighting model. |
class |
DirichletLM
Bayesian smoothing with Dirichlet Prior. |
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 PL2 weighting model. |
class |
In_expC2
This class implements the In_expC2 weighting model. |
class |
InB2
This class implements the PL2 weighting model. |
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 |
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 |
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 | |
---|---|
static 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.taat |
---|
Methods in org.terrier.matching.taat with parameters of type WeightingModel | |
---|---|
protected void |
FullNoPLM.assignScores(int i,
WeightingModel[] wModels,
AccumulatorResultSet rs,
IterablePosting postings)
|
Uses of WeightingModel in org.terrier.matching.tsms |
---|
Subclasses of WeightingModel in org.terrier.matching.tsms | |
---|---|
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. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |