|
Terrier IR Platform 2.2.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object uk.ac.gla.terrier.applications.InteractiveQuerying
public class InteractiveQuerying
This class performs interactive querying at the command line. It asks for a query on Standard Input, and then displays the document IDs that match the given query.
Properties:
Constructor Summary | |
---|---|
InteractiveQuerying()
A default constructor initialises the index, and the Manager. |
Method Summary | |
---|---|
void |
close()
Closes the used structures. |
static void |
main(java.lang.String[] args)
Starts the interactive query application. |
void |
printResults(java.io.PrintWriter pw,
SearchRequest q)
Prints the results |
void |
processQueries(double cParameter)
Performs the matching using the specified weighting model from the setup and possibly a combination of evidence mechanism. |
void |
processQuery(java.lang.String queryId,
java.lang.String query,
double cParameter)
According to the given parameters, it sets up the correct matching class. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InteractiveQuerying()
Method Detail |
---|
public void close()
public void processQuery(java.lang.String queryId, java.lang.String query, double cParameter)
queryId
- String the query identifier to use.query
- String the query to process.cParameter
- double the value of the parameter to use.public void processQueries(double cParameter)
cParameter
- the value of cpublic void printResults(java.io.PrintWriter pw, SearchRequest q)
pw
- PrintWriter the file to write the results to.q
- SearchRequest the search request to get results from.public static void main(java.lang.String[] args)
args
- the command line arguments.
|
Terrier IR Platform 2.2.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |