Class Normalised2LETOROutputFormat

  • All Implemented Interfaces:
    OutputFormat

    public class Normalised2LETOROutputFormat
    extends LETOROutputFormat
    As LETOROutputFormat, but uses normalisation 2 to normalise all scores in [0,1] for each query
    Since:
    4.0
    • Constructor Detail

      • Normalised2LETOROutputFormat

        public Normalised2LETOROutputFormat​(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