|
Terrier IR Platform 2.2.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.gla.terrier.applications.TRECQuerying
uk.ac.gla.terrier.applications.TRECQueryingExpansion
public class TRECQueryingExpansion
This class performs a batch mode retrieval for a set of TREC queries using query expansion.
| Constructor Summary | |
|---|---|
TRECQueryingExpansion()
TRECQueryingExpansion default constructor. |
|
TRECQueryingExpansion(Index i)
TRECQueryExpansion - Index constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
processQueries(double c,
boolean c_set)
Performs the matching using the specified weighting model from the setup. |
SearchRequest |
processQuery(java.lang.String queryId,
java.lang.String query,
double cParameter,
boolean c_set)
According to the given parameters, it sets up the correct matching class. |
| Methods inherited from class uk.ac.gla.terrier.applications.TRECQuerying |
|---|
close, getIndex, getManager, getResultFile, printResults, printSettings, processQueries, processQueries, processQuery, processQuery, setIndex |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TRECQueryingExpansion()
public TRECQueryingExpansion(Index i)
| Method Detail |
|---|
public SearchRequest processQuery(java.lang.String queryId,
java.lang.String query,
double cParameter,
boolean c_set)
processQuery in class TRECQueryingqueryId - the identifier of a query.query - the query to processcParameter - double the term frequency normalisation parameter valuec_set - specifies whether the given value for the parameter c should be used.
public java.lang.String processQueries(double c,
boolean c_set)
processQueries in class TRECQueryingc - the value of the document length normalisation parameter.c_set - boolean specifies whether the value of the
parameter c is specified.
|
Terrier IR Platform 2.2.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||