Terrier IR Platform
2.2.1

uk.ac.gla.terrier.evaluation
Class AdhocFullQueryEvaluation

java.lang.Object
  extended by uk.ac.gla.terrier.evaluation.Evaluation
      extended by uk.ac.gla.terrier.evaluation.AdhocEvaluation
          extended by uk.ac.gla.terrier.evaluation.AdhocFullQueryEvaluation

public class AdhocFullQueryEvaluation
extends AdhocEvaluation

Performs a query by query evaluation of a results file. Like trec_eval -q.


Nested Class Summary
 
Nested classes/interfaces inherited from class uk.ac.gla.terrier.evaluation.Evaluation
Evaluation.Record
 
Field Summary
 
Fields inherited from class uk.ac.gla.terrier.evaluation.Evaluation
qrels
 
Constructor Summary
AdhocFullQueryEvaluation()
           
 
Method Summary
 void evaluate(java.lang.String qrelsFilename, java.lang.String resultFilename)
          Evaluates the given result file for the given qrels file.
 
Methods inherited from class uk.ac.gla.terrier.evaluation.AdhocEvaluation
evaluate, initialise, writeEvaluationResult, writeEvaluationResultOfEachQuery
 
Methods inherited from class uk.ac.gla.terrier.evaluation.Evaluation
writeEvaluationResult, writeEvaluationResult
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdhocFullQueryEvaluation

public AdhocFullQueryEvaluation()
Method Detail

evaluate

public void evaluate(java.lang.String qrelsFilename,
                     java.lang.String resultFilename)
Evaluates the given result file for the given qrels file.

Parameters:
resultFilename - java.lang.String the filename of the result file to evaluate.
qrelsFilename - java.lang.String the filename of the qrels file corresponding to the result file.

Terrier IR Platform
2.2.1

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