public class EventTimeNeuralEvaluation extends EvaluationOfTemporalRelations_ImplBase
Modifier and Type | Class and Description |
---|---|
static class |
EventTimeNeuralEvaluation.AddClosure |
static class |
EventTimeNeuralEvaluation.AddContain2Overlap |
static class |
EventTimeNeuralEvaluation.AddFlippedOverlap |
static class |
EventTimeNeuralEvaluation.AddPotentialRelations |
static class |
EventTimeNeuralEvaluation.AddTransitiveContainsRelations |
static class |
EventTimeNeuralEvaluation.CountCloseRelation |
static class |
EventTimeNeuralEvaluation.Overlap2Contains
For conflicting temporal relations on the same pair of arguments, if some of the relation types are "overlap", and "contains", remove "overlap" and keep "contains"
|
static class |
EventTimeNeuralEvaluation.RemoveCrossSentenceRelations |
static class |
EventTimeNeuralEvaluation.RemoveEventEventRelations |
static class |
EventTimeNeuralEvaluation.RemoveNonUMLSEtEvents |
static class |
EventTimeNeuralEvaluation.RemoveRelations |
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 |
boolean |
skipWrite |
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 |
---|
EventTimeNeuralEvaluation(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
public boolean skipWrite
protected boolean testOnTrain
public EventTimeNeuralEvaluation(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.