Class NormalisedLETOROutputFormat
- java.lang.Object
-
- org.terrier.structures.outputformat.LETOROutputFormat
-
- org.terrier.structures.outputformat.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
-
-
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 NormalisedLETOROutputFormat(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
-
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 interfaceOutputFormat
- Overrides:
printResults
in classLETOROutputFormat
- Throws:
java.io.IOException
-
-