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.
|
Modifier and Type | Class and 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 |
CS
Deprecated.
|
class |
CSCorrect
Deprecated.
|
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.
|
Modifier and Type | Method and Description |
---|---|
static QueryExpansionModel |
QueryExpansionModelFactory.newInstance(String name)
Returns the requested weighting model.
|
Modifier and Type | Field and Description |
---|---|
protected QueryExpansionModel |
ExpansionTerms.model |
protected QueryExpansionModel |
QueryExpansion.QEModel
The query expansion model used.
|
Modifier and Type | Field and Description |
---|---|
protected Map<String,QueryExpansionModel> |
QueryExpansion.Cache_QueryExpansionModel
Caching the query expansion models that have been
created so far.
|
Modifier and Type | Method and Description |
---|---|
QueryExpansionModel |
QueryExpansion.getQueryExpansionModel(String Name)
Obtain the query expansion model for QE to use.
|
Modifier and Type | Method and 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(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 model
|
void |
QueryExpansion.setQueryExpansionModel(QueryExpansionModel _QEModel)
Set the used query expansion model.
|
Terrier 4.0. Copyright © 2004-2014 University of Glasgow