public class EvaluationOfEventDocTimeRelDeepPhe extends Evaluation_ImplBase<Map<String,org.cleartk.eval.AnnotationStatistics<String>>>
Modifier and Type | Class and Description |
---|---|
static class |
EvaluationOfEventDocTimeRelDeepPhe.ClearEventProperties |
static class |
EvaluationOfEventDocTimeRelDeepPhe.CopyHeadEventDocTimeRel2GoldEvent
copy covered event's DocTimeRel to the gold event
remove non-gold eventMentions
|
static class |
EvaluationOfEventDocTimeRelDeepPhe.KeepEventMentionsCoveredByGoldMentions |
static class |
EvaluationOfEventDocTimeRelDeepPhe.ReplaceCTakesMentionsWithGoldMentions
Annotator that removes cTAKES Mentions and Modifiers from the system view,
and copies over the manually annotated Mentions and Modifiers from the gold
view.
|
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 boolean |
skipTrain |
boolean |
skipWrite |
protected boolean |
testOnTrain |
protected boolean |
useClosure |
protected boolean |
useGoldAttributes |
anaforaOutput, badNotes, GOLD_VIEW_NAME, i2b2Output, kernelParams, printErrors, printOverlapping, PROB_VIEW_NAME, rawTextDirectory, subcorpus, treebankDirectory, xmiDirectory, xmlDirectory, xmlFormat
Constructor and Description |
---|
EvaluationOfEventDocTimeRelDeepPhe(File baseDirectory,
File rawTextDirectory,
File xmlDirectory,
Evaluation_ImplBase.XMLFormat xmlFormat,
Evaluation_ImplBase.Subcorpus subcorpus,
File xmiDirectory,
File treebankDirectory,
boolean useClosure,
boolean printErrors,
boolean useGoldAttributes,
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 useClosure
protected boolean useGoldAttributes
protected boolean skipTrain
public boolean skipWrite
protected boolean testOnTrain
public EvaluationOfEventDocTimeRelDeepPhe(File baseDirectory, File rawTextDirectory, File xmlDirectory, Evaluation_ImplBase.XMLFormat xmlFormat, Evaluation_ImplBase.Subcorpus subcorpus, File xmiDirectory, File treebankDirectory, boolean useClosure, boolean printErrors, boolean useGoldAttributes, 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.