public abstract class Evaluation_ImplBase<STATISTICS_TYPE> extends org.cleartk.eval.Evaluation_ImplBase<Integer,STATISTICS_TYPE>
Modifier and Type | Class and Description |
---|---|
static class |
Evaluation_ImplBase.CopyFromGold |
static class |
Evaluation_ImplBase.CopyFromSystem |
static class |
Evaluation_ImplBase.CopyNPChunksToLookupWindowAnnotations |
static class |
Evaluation_ImplBase.EntityMentionRemover |
static class |
Evaluation_ImplBase.EventMentionRemover |
static interface |
Evaluation_ImplBase.Options |
static class |
Evaluation_ImplBase.PittHeaderAnnotator
Grabs the document time from the header
|
static class |
Evaluation_ImplBase.RemoveEnclosedLookupWindows |
static class |
Evaluation_ImplBase.SegmentsFromBracketedSectionTagsAnnotator |
static class |
Evaluation_ImplBase.Subcorpus |
static class |
Evaluation_ImplBase.TimexAnnotationCorrector |
static class |
Evaluation_ImplBase.UriToDocumentTextAnnotatorCtakes |
static class |
Evaluation_ImplBase.WriteAnaforaXML |
static class |
Evaluation_ImplBase.WriteI2B2XML |
static class |
Evaluation_ImplBase.XMIReader |
static class |
Evaluation_ImplBase.XMIWriter |
static class |
Evaluation_ImplBase.XMLFormat |
Modifier and Type | Field and Description |
---|---|
protected String |
anaforaOutput |
static HashSet<String> |
badNotes |
static String |
GOLD_VIEW_NAME |
protected String |
i2b2Output |
protected String[] |
kernelParams |
protected boolean |
printErrors |
protected boolean |
printOverlapping |
static String |
PROB_VIEW_NAME |
protected File |
rawTextDirectory |
protected Evaluation_ImplBase.Subcorpus |
subcorpus |
protected File |
treebankDirectory |
protected File |
xmiDirectory |
protected File |
xmlDirectory |
protected Evaluation_ImplBase.XMLFormat |
xmlFormat |
Constructor and Description |
---|
Evaluation_ImplBase(File baseDirectory,
File rawTextDirectory,
File xmlDirectory,
Evaluation_ImplBase.XMLFormat xmlFormat,
Evaluation_ImplBase.Subcorpus subcorpus,
File xmiDirectory,
File treebankDirectory) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.uima.collection.CollectionReader |
getCollectionReader(List<Integer> patientSets) |
protected org.apache.uima.fit.factory.AggregateBuilder |
getPreprocessorAggregateBuilder() |
static String |
getRelationId(TemporalTextRelation rel) |
static List<Integer> |
getTestItems(Evaluation_ImplBase.Options options) |
static List<Integer> |
getTrainItems(Evaluation_ImplBase.Options options) |
protected org.apache.uima.fit.factory.AggregateBuilder |
getXMIReadingPreprocessorAggregateBuilder() |
protected org.apache.uima.fit.factory.AggregateBuilder |
getXMIWritingPreprocessorAggregateBuilder() |
void |
prepareXMIsFor(List<Integer> patientSets) |
static <T extends org.apache.uima.jcas.tcas.Annotation> |
selectExact(org.apache.uima.jcas.JCas jCas,
Class<T> annotationClass,
Segment segment) |
void |
setI2B2Output(String outDir) |
public static final String GOLD_VIEW_NAME
public static final String PROB_VIEW_NAME
protected File rawTextDirectory
protected File xmlDirectory
protected Evaluation_ImplBase.XMLFormat xmlFormat
protected Evaluation_ImplBase.Subcorpus subcorpus
protected File xmiDirectory
protected File treebankDirectory
protected boolean printErrors
protected boolean printOverlapping
protected String i2b2Output
protected String anaforaOutput
protected String[] kernelParams
public Evaluation_ImplBase(File baseDirectory, File rawTextDirectory, File xmlDirectory, Evaluation_ImplBase.XMLFormat xmlFormat, Evaluation_ImplBase.Subcorpus subcorpus, File xmiDirectory, File treebankDirectory)
public static List<Integer> getTrainItems(Evaluation_ImplBase.Options options)
public static List<Integer> getTestItems(Evaluation_ImplBase.Options options)
public void setI2B2Output(String outDir)
public void prepareXMIsFor(List<Integer> patientSets) throws Exception
Exception
protected org.apache.uima.collection.CollectionReader getCollectionReader(List<Integer> patientSets) throws Exception
getCollectionReader
in class org.cleartk.eval.Evaluation_ImplBase<Integer,STATISTICS_TYPE>
Exception
protected org.apache.uima.fit.factory.AggregateBuilder getPreprocessorAggregateBuilder() throws Exception
Exception
protected org.apache.uima.fit.factory.AggregateBuilder getXMIReadingPreprocessorAggregateBuilder() throws org.apache.uima.UIMAException
org.apache.uima.UIMAException
protected org.apache.uima.fit.factory.AggregateBuilder getXMIWritingPreprocessorAggregateBuilder() throws Exception
Exception
public static <T extends org.apache.uima.jcas.tcas.Annotation> List<T> selectExact(org.apache.uima.jcas.JCas jCas, Class<T> annotationClass, Segment segment)
public static String getRelationId(TemporalTextRelation rel)
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.