public class EvaluationOfEventTimeRelations extends EvaluationOfTemporalRelations_ImplBase
EvaluationOfTemporalRelations_ImplBase.PreserveEventEventRelations, EvaluationOfTemporalRelations_ImplBase.RemoveGoldAttributes, EvaluationOfTemporalRelations_ImplBase.RemoveNonContainsRelations
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 |
allBagsParams |
protected static EvaluationOfEventTimeRelations.ParameterSettings |
allParams |
protected static EvaluationOfEventTimeRelations.ParameterSettings |
flatParams |
protected static EvaluationOfEventTimeRelations.ParameterSettings |
ftParams |
protected boolean |
skipTrain |
protected boolean |
testOnTrain |
protected boolean |
useClosure |
protected boolean |
useGoldAttributes |
DEFAULT_BOTH_DIRECTIONS, DEFAULT_DOWNSAMPLE, DEFAULT_LAMBDA, DEFAULT_SVM_C, DEFAULT_SVM_G, DEFAULT_TK, defaultParams, params, printRelations
anaforaOutput, badNotes, GOLD_VIEW_NAME, i2b2Output, kernelParams, printErrors, printOverlapping, PROB_VIEW_NAME, rawTextDirectory, subcorpus, treebankDirectory, xmiDirectory, xmlDirectory, xmlFormat
Constructor and Description |
---|
EvaluationOfEventTimeRelations(File baseDirectory,
File rawTextDirectory,
File xmlDirectory,
Evaluation_ImplBase.XMLFormat xmlFormat,
Evaluation_ImplBase.Subcorpus subcorpus,
File xmiDirectory,
File treebankDirectory,
boolean useClosure,
boolean printErrors,
boolean printRelations,
boolean baseline,
boolean useGoldAttributes,
String kernelParams,
EvaluationOfEventTimeRelations.ParameterSettings params) |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args) |
protected 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) |
correctArgOrder, formatRelation, printRelationAnnotations
getCollectionReader, getPreprocessorAggregateBuilder, getRelationId, getTestItems, getTrainItems, getXMIReadingPreprocessorAggregateBuilder, getXMIWritingPreprocessorAggregateBuilder, prepareXMIsFor, selectExact, setI2B2Output
protected static EvaluationOfEventTimeRelations.ParameterSettings flatParams
protected static EvaluationOfEventTimeRelations.ParameterSettings allBagsParams
protected static EvaluationOfEventTimeRelations.ParameterSettings allParams
protected static EvaluationOfEventTimeRelations.ParameterSettings ftParams
protected boolean useClosure
protected boolean useGoldAttributes
protected boolean skipTrain
protected boolean testOnTrain
public EvaluationOfEventTimeRelations(File baseDirectory, File rawTextDirectory, File xmlDirectory, Evaluation_ImplBase.XMLFormat xmlFormat, Evaluation_ImplBase.Subcorpus subcorpus, File xmiDirectory, File treebankDirectory, boolean useClosure, boolean printErrors, boolean printRelations, boolean baseline, boolean useGoldAttributes, String kernelParams, EvaluationOfEventTimeRelations.ParameterSettings params)
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.