Class NormalisedLETOROutputFormat

  • All Implemented Interfaces:
    OutputFormat

    public class NormalisedLETOROutputFormat
    extends LETOROutputFormat
    As LETOROutputFormat, but normalises all scores in [0,1] for each query
    Since:
    4.0
    • Constructor Detail

      • NormalisedLETOROutputFormat

        public NormalisedLETOROutputFormat​(Index index)
    • Method Detail

      • printResults

        public void printResults​(java.io.PrintWriter pw,
                                 SearchRequest q,
                                 java.lang.String method,
                                 java.lang.String iteration,
                                 int numberOfResults)
                          throws java.io.IOException
        Description copied from interface: OutputFormat
        Outputs the results of query q to PrintWriter pw, described by the method, iteration, and the specified limit on the number of results (0 means no limit).
        Specified by:
        printResults in interface OutputFormat
        Overrides:
        printResults in class LETOROutputFormat
        Throws:
        java.io.IOException