public class EvaluationOfClearTKEventSpans extends EvaluationOfAnnotationSpans_ImplBase
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
anaforaOutput, badNotes, GOLD_VIEW_NAME, i2b2Output, kernelParams, printErrors, printOverlapping, PROB_VIEW_NAME, rawTextDirectory, subcorpus, treebankDirectory, xmiDirectory, xmlDirectory, xmlFormat
Constructor and Description |
---|
EvaluationOfClearTKEventSpans(File baseDirectory,
File rawTextDirectory,
File xmlDirectory,
Evaluation_ImplBase.XMLFormat xmlFormat,
Evaluation_ImplBase.Subcorpus subcorpus,
File xmiDirectory) |
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) |
protected void |
trainAndPackage(File directory) |
setLogging, test, train
getCollectionReader, getPreprocessorAggregateBuilder, getRelationId, getTestItems, getTrainItems, getXMIReadingPreprocessorAggregateBuilder, getXMIWritingPreprocessorAggregateBuilder, prepareXMIsFor, selectExact, setI2B2Output
public EvaluationOfClearTKEventSpans(File baseDirectory, File rawTextDirectory, File xmlDirectory, Evaluation_ImplBase.XMLFormat xmlFormat, Evaluation_ImplBase.Subcorpus subcorpus, File xmiDirectory)
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.