public class EvaluationOfEventProperties extends Evaluation_ImplBase<Map<String,org.cleartk.eval.AnnotationStatistics<String>>>
Modifier and Type | Class and Description |
---|---|
static class |
EvaluationOfEventProperties.ClearEventProperties |
Evaluation_ImplBase.CopyFromGold, Evaluation_ImplBase.CopyFromSystem, Evaluation_ImplBase.CopyNPChunksToLookupWindowAnnotations, Evaluation_ImplBase.EntityMentionRemover, Evaluation_ImplBase.EventMentionRemover, Evaluation_ImplBase.Options, Evaluation_ImplBase.PittHeaderAnnotator, Evaluation_ImplBase.RemoveEnclosedLookupWindows, Evaluation_ImplBase.SegmentsFromBracketedSectionTagsAnnotator, Evaluation_ImplBase.Subcorpus, Evaluation_ImplBase.TimexAnnotationCorrector, Evaluation_ImplBase.UriToDocumentTextAnnotatorCtakes, Evaluation_ImplBase.WriteAnaforaXML, Evaluation_ImplBase.WriteI2B2XML, Evaluation_ImplBase.XMIReader, Evaluation_ImplBase.XMIWriter, Evaluation_ImplBase.XMLFormat
Modifier and Type | Field and Description |
---|---|
protected static EvaluationOfEventTimeRelations.ParameterSettings |
allParams |
protected static boolean |
DEFAULT_BOTH_DIRECTIONS |
protected static float |
DEFAULT_DOWNSAMPLE |
protected EvaluationOfEventTimeRelations.ParameterSettings |
params |
protected boolean |
skipTrain |
protected boolean |
testOnTrain |
anaforaOutput, badNotes, GOLD_VIEW_NAME, i2b2Output, kernelParams, printErrors, printOverlapping, PROB_VIEW_NAME, rawTextDirectory, subcorpus, treebankDirectory, xmiDirectory, xmlDirectory, xmlFormat
Constructor and Description |
---|
EvaluationOfEventProperties(File baseDirectory,
File rawTextDirectory,
File xmlDirectory,
Evaluation_ImplBase.XMLFormat xmlFormat,
Evaluation_ImplBase.Subcorpus subcorpus,
File xmiDirectory,
String kernelParams,
EvaluationOfEventTimeRelations.ParameterSettings params) |
Modifier and Type | Method and Description |
---|---|
void |
logClassificationErrors(File outputDir,
String outputFilePrefix) |
static void |
main(String[] args) |
protected Map<String,org.cleartk.eval.AnnotationStatistics<String>> |
test(org.apache.uima.collection.CollectionReader collectionReader,
File directory) |
protected void |
train(org.apache.uima.collection.CollectionReader collectionReader,
File directory) |
getCollectionReader, getPreprocessorAggregateBuilder, getRelationId, getTestItems, getTrainItems, getXMIReadingPreprocessorAggregateBuilder, getXMIWritingPreprocessorAggregateBuilder, prepareXMIsFor, selectExact, setI2B2Output
protected static boolean DEFAULT_BOTH_DIRECTIONS
protected static float DEFAULT_DOWNSAMPLE
protected static EvaluationOfEventTimeRelations.ParameterSettings allParams
protected boolean skipTrain
protected boolean testOnTrain
protected EvaluationOfEventTimeRelations.ParameterSettings params
public EvaluationOfEventProperties(File baseDirectory, File rawTextDirectory, File xmlDirectory, Evaluation_ImplBase.XMLFormat xmlFormat, Evaluation_ImplBase.Subcorpus subcorpus, File xmiDirectory, String kernelParams, EvaluationOfEventTimeRelations.ParameterSettings params)
protected void train(org.apache.uima.collection.CollectionReader collectionReader, File directory) throws Exception
protected Map<String,org.cleartk.eval.AnnotationStatistics<String>> test(org.apache.uima.collection.CollectionReader collectionReader, File directory) throws Exception
public void logClassificationErrors(File outputDir, String outputFilePrefix) throws IOException
IOException
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.