public class EvaluationOfTimeSpans extends EvaluationOfAnnotationSpans_ImplBase
Evaluation_ImplBase.CopyFromGold, Evaluation_ImplBase.CopyFromSystem, Evaluation_ImplBase.CopyNPChunksToLookupWindowAnnotations, Evaluation_ImplBase.EntityMentionRemover, Evaluation_ImplBase.EventMentionRemover, 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
anaforaOutput, badNotes, GOLD_VIEW_NAME, i2b2Output, kernelParams, printErrors, printOverlapping, PROB_VIEW_NAME, rawTextDirectory, subcorpus, treebankDirectory, xmiDirectory, xmlDirectory, xmlFormat
Constructor and Description |
---|
EvaluationOfTimeSpans(File baseDirectory,
File rawTextDirectory,
File xmlDirectory,
Evaluation_ImplBase.XMLFormat xmlFormat,
Evaluation_ImplBase.Subcorpus subcorpus,
File xmiDirectory,
File treebankDirectory,
float featureSelectionThreshold,
float numOfSmoteNeighbors,
Class<? extends org.apache.uima.fit.component.JCasAnnotator_ImplBase> annotatorClass,
boolean printOverlapping,
String[] trainingArguments) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.uima.analysis_engine.AnalysisEngineDescription |
getAnnotatorDescription(File directory) |
protected org.apache.uima.analysis_engine.AnalysisEngineDescription |
getDataWriterDescription(File directory) |
protected Collection<? extends org.apache.uima.jcas.tcas.Annotation> |
getGoldAnnotations(org.apache.uima.jcas.JCas jCas,
Segment segment) |
protected Collection<? extends org.apache.uima.jcas.tcas.Annotation> |
getSystemAnnotations(org.apache.uima.jcas.JCas jCas,
Segment segment) |
static void |
main(String[] args) |
void |
setSkipTrain(boolean val) |
void |
train(org.apache.uima.collection.CollectionReader reader,
File directory) |
protected void |
trainAndPackage(File directory) |
setLogging, test
getCollectionReader, getPreprocessorAggregateBuilder, getRelationId, getTestItems, getTrainItems, getXMIReadingPreprocessorAggregateBuilder, getXMIWritingPreprocessorAggregateBuilder, prepareXMIsFor, selectExact, setI2B2Output
public EvaluationOfTimeSpans(File baseDirectory, File rawTextDirectory, File xmlDirectory, Evaluation_ImplBase.XMLFormat xmlFormat, Evaluation_ImplBase.Subcorpus subcorpus, File xmiDirectory, File treebankDirectory, float featureSelectionThreshold, float numOfSmoteNeighbors, Class<? extends org.apache.uima.fit.component.JCasAnnotator_ImplBase> annotatorClass, boolean printOverlapping, String[] trainingArguments)
public void setSkipTrain(boolean val)
public void train(org.apache.uima.collection.CollectionReader reader, File directory) throws Exception
train
in class EvaluationOfAnnotationSpans_ImplBase
Exception
protected org.apache.uima.analysis_engine.AnalysisEngineDescription getDataWriterDescription(File directory) throws org.apache.uima.resource.ResourceInitializationException
getDataWriterDescription
in class EvaluationOfAnnotationSpans_ImplBase
org.apache.uima.resource.ResourceInitializationException
protected void trainAndPackage(File directory) throws Exception
trainAndPackage
in class EvaluationOfAnnotationSpans_ImplBase
Exception
protected org.apache.uima.analysis_engine.AnalysisEngineDescription getAnnotatorDescription(File directory) throws org.apache.uima.resource.ResourceInitializationException
getAnnotatorDescription
in class EvaluationOfAnnotationSpans_ImplBase
org.apache.uima.resource.ResourceInitializationException
protected Collection<? extends org.apache.uima.jcas.tcas.Annotation> getGoldAnnotations(org.apache.uima.jcas.JCas jCas, Segment segment)
getGoldAnnotations
in class EvaluationOfAnnotationSpans_ImplBase
protected Collection<? extends org.apache.uima.jcas.tcas.Annotation> getSystemAnnotations(org.apache.uima.jcas.JCas jCas, Segment segment)
getSystemAnnotations
in class EvaluationOfAnnotationSpans_ImplBase
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.