Terrier IR Platform
2.2.1

uk.ac.gla.terrier.applications
Class TRECLMQuerying

java.lang.Object
  extended by uk.ac.gla.terrier.applications.TRECQuerying
      extended by uk.ac.gla.terrier.applications.TRECLMQuerying

public class TRECLMQuerying
extends TRECQuerying

This class performs a batch mode retrieval from a set of TREC queries.

Version:
$Revision: 1.22 $
Author:
Gianni Amati, Vassilis Plachouras, Ben He, Craig Macdonald

Constructor Summary
TRECLMQuerying()
          TRECLMQuerying default constructor initialises the inverted index, the lexicon and the document index structures.
 
Method Summary
 java.lang.String processQueries()
          Performs the matching using the specified weighting model from the setup and possibly a combination of evidence mechanism.
 java.lang.String processQueries(double c)
          Performs the matching using the specified weighting model from the setup and possibly a combination of evidence mechanism.
 java.lang.String processQueries(double c, boolean c_set)
          Performs the matching using the specified weighting model from the setup and possibly a combination of evidence mechanism.
 
Methods inherited from class uk.ac.gla.terrier.applications.TRECQuerying
close, getIndex, getManager, getResultFile, printResults, printSettings, processQuery, processQuery, processQuery, setIndex
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TRECLMQuerying

public TRECLMQuerying()
TRECLMQuerying default constructor initialises the inverted index, the lexicon and the document index structures.

Method Detail

processQueries

public java.lang.String processQueries(double c)
Performs the matching using the specified weighting model from the setup and possibly a combination of evidence mechanism. It parses the file with the queries (the name of the file is defined in the address_query file), creates the file of results, and for each query, gets the relevant documents, scores them, and outputs the results to the result file. The parameter c is not used for language models.

Overrides:
processQueries in class TRECQuerying
Parameters:
c - this parameter is not used for language models.
Returns:
String the filename that the results have been written to

processQueries

public java.lang.String processQueries(double c,
                                       boolean c_set)
Performs the matching using the specified weighting model from the setup and possibly a combination of evidence mechanism. It parses the file with the queries (the name of the file is defined in the address_query file), creates the file of results, and for each query, gets the relevant documents, scores them, and outputs the results to the result file. The parameter c is not used for language models.

Overrides:
processQueries in class TRECQuerying
Parameters:
c - this parameter is not used for language models.
c_set - this parameter is not used for language models.
Returns:
String the filename that the results have been written to

processQueries

public java.lang.String processQueries()
Performs the matching using the specified weighting model from the setup and possibly a combination of evidence mechanism. It parses the file with the queries (the name of the file is defined in the address_query file), creates the file of results, and for each query, gets the relevant documents, scores them, and outputs the results to the result file.

Overrides:
processQueries in class TRECQuerying
Returns:
String the filename that the results have been written to

Terrier IR Platform
2.2.1

Terrier Information Retrieval Platform 2.2.1. Copyright 2004-2008 University of Glasgow