public abstract class ResultsPrinter
extends java.lang.Object
Constructor and Description |
---|
ResultsPrinter() |
Modifier and Type | Method and Description |
---|---|
static void |
align(java.util.List<CoreMap> list1,
java.util.List<CoreMap> list2)
If the same set of sentences is contained in two lists, order the lists so that their sentences are in the same order (and return true).
|
java.lang.String |
printResults(CoreMap goldStandard,
CoreMap extractorOutput)
Given a set of sentences with annotations from an information extractor class, and the same sentences
with gold-standard annotations, print results on how the information extraction performed.
|
java.lang.String |
printResults(java.util.List<java.lang.String> goldStandard,
java.util.List<java.lang.String> extractorOutput) |
abstract void |
printResults(java.io.PrintWriter pw,
java.util.List<CoreMap> goldStandard,
java.util.List<CoreMap> extractorOutput) |
abstract void |
printResultsUsingLabels(java.io.PrintWriter pw,
java.util.List<java.lang.String> goldStandard,
java.util.List<java.lang.String> extractorOutput) |
public java.lang.String printResults(CoreMap goldStandard, CoreMap extractorOutput)
public java.lang.String printResults(java.util.List<java.lang.String> goldStandard, java.util.List<java.lang.String> extractorOutput)
public abstract void printResults(java.io.PrintWriter pw, java.util.List<CoreMap> goldStandard, java.util.List<CoreMap> extractorOutput)
public abstract void printResultsUsingLabels(java.io.PrintWriter pw, java.util.List<java.lang.String> goldStandard, java.util.List<java.lang.String> extractorOutput)