public class EvaluationOfMetaTimeExpressionExtractor 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
Modifier and Type | Field and Description |
---|---|
static int |
nFolds |
anaforaOutput, badNotes, GOLD_VIEW_NAME, i2b2Output, kernelParams, printErrors, printOverlapping, PROB_VIEW_NAME, rawTextDirectory, subcorpus, treebankDirectory, xmiDirectory, xmlDirectory, xmlFormat
Constructor and Description |
---|
EvaluationOfMetaTimeExpressionExtractor(File baseDirectory,
File rawTextDirectory,
File xmlDirectory,
Evaluation_ImplBase.XMLFormat xmlFormat,
Evaluation_ImplBase.Subcorpus subcorpus,
File xmiDirectory,
File treebankDirectory,
List<Integer> allTrain,
Class<? extends org.apache.uima.jcas.tcas.Annotation> annotationClass) |
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 |
train(org.apache.uima.collection.CollectionReader collectionReader,
File directory) |
protected void |
trainAndPackage(File directory) |
setLogging, test
getCollectionReader, getPreprocessorAggregateBuilder, getRelationId, getTestItems, getTrainItems, getXMIReadingPreprocessorAggregateBuilder, getXMIWritingPreprocessorAggregateBuilder, prepareXMIsFor, selectExact, setI2B2Output
public EvaluationOfMetaTimeExpressionExtractor(File baseDirectory, File rawTextDirectory, File xmlDirectory, Evaluation_ImplBase.XMLFormat xmlFormat, Evaluation_ImplBase.Subcorpus subcorpus, File xmiDirectory, File treebankDirectory, List<Integer> allTrain, Class<? extends org.apache.uima.jcas.tcas.Annotation> annotationClass)
protected void train(org.apache.uima.collection.CollectionReader collectionReader, 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.