Class AdhocFullQueryEvaluation

  • All Implemented Interfaces:
    Evaluation

    public class AdhocFullQueryEvaluation
    extends AdhocEvaluation
    Performs a query by query evaluation of a results file. Like trec_eval -q.
    • Field Detail

      • logger

        protected static final org.slf4j.Logger logger
    • Constructor Detail

      • AdhocFullQueryEvaluation

        public AdhocFullQueryEvaluation()
        Create full query adhoc evaluation
      • AdhocFullQueryEvaluation

        public AdhocFullQueryEvaluation​(java.lang.String qrelsFile)
        Create full query adhoc evaluation
        Parameters:
        qrelsFile -
      • AdhocFullQueryEvaluation

        public AdhocFullQueryEvaluation​(java.lang.String[] qrelsFiles)
        Create full query adhoc evaluation
        Parameters:
        qrelsFiles -
    • 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.