Class Normalised2LETOROutputFormat
- java.lang.Object
-
- org.terrier.structures.outputformat.LETOROutputFormat
-
- org.terrier.structures.outputformat.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
-
-
Field Summary
-
Fields inherited from class org.terrier.structures.outputformat.LETOROutputFormat
display_docids, display_docnos, display_scores, feature_docids, fOffset, seenQueries, test
-
-
Constructor Summary
Constructors Constructor Description Normalised2LETOROutputFormat(Index index)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
printResults(java.io.PrintWriter pw, SearchRequest q, java.lang.String method, java.lang.String iteration, int numberOfResults)
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).-
Methods inherited from class org.terrier.structures.outputformat.LETOROutputFormat
printHeader
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.terrier.structures.outputformat.OutputFormat
contentType
-
-
-
-
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 interfaceOutputFormat
- Overrides:
printResults
in classLETOROutputFormat
- Throws:
java.io.IOException
-
-