public abstract class ResultsPrinter extends Object
Constructor and Description |
---|
ResultsPrinter() |
Modifier and Type | Method and Description |
---|---|
static void |
align(List<CoreMap> list1,
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).
|
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.
|
String |
printResults(List<String> goldStandard,
List<String> extractorOutput) |
abstract void |
printResults(PrintWriter pw,
List<CoreMap> goldStandard,
List<CoreMap> extractorOutput) |
abstract void |
printResultsUsingLabels(PrintWriter pw,
List<String> goldStandard,
List<String> extractorOutput) |
public String printResults(CoreMap goldStandard, CoreMap extractorOutput)
public abstract void printResults(PrintWriter pw, List<CoreMap> goldStandard, List<CoreMap> extractorOutput)
public abstract void printResultsUsingLabels(PrintWriter pw, List<String> goldStandard, List<String> extractorOutput)