Uses of Class
org.terrier.matching.models.queryexpansion.QueryExpansionModel
-
Packages that use QueryExpansionModel Package Description org.terrier.matching.models.queryexpansion Provides the classes that implement various query expansion models.org.terrier.querying Provides the interfaces and classes for the querying API of the Terrier platform, the controls, post processors and filters. -
-
Uses of QueryExpansionModel in org.terrier.matching.models.queryexpansion
Subclasses of QueryExpansionModel in org.terrier.matching.models.queryexpansion Modifier and Type Class Description class
BA
This class implements an approximation of the binomial distribution through the Kullback-Leibler divergence to weight query terms for query expansion.class
Bo1
This class implements the Bo1 model for query expansion.class
Bo2
This class implements the Bo2 model for query expansion.class
Information
This class implements the Kullback-Leibler divergence for query expansion.class
KL
This class implements the Kullback-Leibler divergence for query expansion.class
KLComplete
This class implements the complete Kullback-Leibler divergence for query expansion.class
KLCorrect
This class implements the correct Kullback-Leibler divergence for query expansion, which takes the contribution into consideration.Methods in org.terrier.matching.models.queryexpansion that return QueryExpansionModel Modifier and Type Method Description static QueryExpansionModel
QueryExpansionModelFactory. newInstance(java.lang.String name)
Returns the requested weighting model. -
Uses of QueryExpansionModel in org.terrier.querying
Fields in org.terrier.querying declared as QueryExpansionModel Modifier and Type Field Description protected QueryExpansionModel
ExpansionTerms. model
protected QueryExpansionModel
QueryExpansion. QEModel
The query expansion model used.Fields in org.terrier.querying with type parameters of type QueryExpansionModel Modifier and Type Field Description protected java.util.Map<java.lang.String,QueryExpansionModel>
QueryExpansion. Cache_QueryExpansionModel
Caching the query expansion models that have been created so far.Methods in org.terrier.querying that return QueryExpansionModel Modifier and Type Method Description QueryExpansionModel
QueryExpansion. getQueryExpansionModel(java.lang.String Name)
Obtain the query expansion model for QE to use.Methods in org.terrier.querying with parameters of type QueryExpansionModel Modifier and Type Method Description void
DFRBagExpansionTerms. assignWeights(QueryExpansionModel QEModel)
Assign weight to terms that are stored in ExpansionTerm[] terms.protected SingleTermQuery[]
DFRBagExpansionTerms. getExpandedTerms(int numberOfExpandedTerms, QueryExpansionModel QEModel)
double
DFRBagExpansionTerms. getExpansionWeight(int termId, QueryExpansionModel model)
Returns the weight of a term with the given term identifier, computed by the specified query expansion model.double
DFRBagExpansionTerms. getExpansionWeight(java.lang.String term, QueryExpansionModel model)
Returns the weight of a given term, computed by the specified query expansion model.void
ExpansionTerms. setModel(QueryExpansionModel m)
Set query expansion modelvoid
QueryExpansion. setQueryExpansionModel(QueryExpansionModel _QEModel)
Set the used query expansion model.
-