public abstract class Evaluation_ImplBase<STATISTICS_TYPE> extends
Modifier and Type | Class and Description |
---|---|
static class |
Evaluation_ImplBase.CopyFromGold |
static class |
Evaluation_ImplBase.CopyNPChunksToLookupWindowAnnotations |
static class |
Evaluation_ImplBase.EntityMentionRemover |
static class |
Evaluation_ImplBase.EventMentionRemover |
static interface |
Evaluation_ImplBase.Options |
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 |
---|---|
static java.lang.String |
GOLD_VIEW_NAME |
protected java.lang.String |
i2b2Output |
protected java.lang.String[] |
kernelParams |
private static Logger |
LOGGER |
protected boolean |
printErrors |
protected boolean |
printOverlapping |
protected java.io.File |
rawTextDirectory |
protected Evaluation_ImplBase.Subcorpus |
subcorpus |
protected java.io.File |
treebankDirectory |
protected java.io.File |
xmiDirectory |
private boolean |
xmiExists |
protected java.io.File |
xmlDirectory |
protected Evaluation_ImplBase.XMLFormat |
xmlFormat |
Constructor and Description |
---|
Evaluation_ImplBase(java.io.File baseDirectory,
java.io.File rawTextDirectory,
java.io.File xmlDirectory,
Evaluation_ImplBase.XMLFormat xmlFormat,
Evaluation_ImplBase.Subcorpus subcorpus,
java.io.File xmiDirectory,
java.io.File treebankDirectory) |
Modifier and Type | Method and Description |
---|---|
protected CollectionReader |
getCollectionReader(java.util.List<java.lang.Integer> patientSets) |
private java.util.List<java.io.File> |
getFilesFor(java.util.List<java.lang.Integer> patientSets) |
protected AggregateBuilder |
getPreprocessorAggregateBuilder() |
static java.util.List<java.lang.Integer> |
getTestItems(Evaluation_ImplBase.Options options) |
static java.util.List<java.lang.Integer> |
getTrainItems(Evaluation_ImplBase.Options options) |
(package private) static java.io.File |
getXMIFile(java.io.File xmiDirectory,
java.io.File textFile) |
(package private) static java.io.File |
getXMIFile(java.io.File xmiDirectory,
JCas jCas) |
protected AggregateBuilder |
getXMIReadingPreprocessorAggregateBuilder() |
protected AggregateBuilder |
getXMIWritingPreprocessorAggregateBuilder() |
void |
prepareXMIsFor(java.util.List<java.lang.Integer> patientSets) |
static <T extends Annotation> |
selectExact(JCas jCas,
java.lang.Class<T> annotationClass,
Segment segment) |
void |
setI2B2Output(java.lang.String outDir) |
private static Logger LOGGER
public static final java.lang.String GOLD_VIEW_NAME
protected java.io.File rawTextDirectory
protected java.io.File xmlDirectory
protected Evaluation_ImplBase.XMLFormat xmlFormat
protected Evaluation_ImplBase.Subcorpus subcorpus
protected java.io.File xmiDirectory
private boolean xmiExists
protected java.io.File treebankDirectory
protected boolean printErrors
protected boolean printOverlapping
protected java.lang.String i2b2Output
protected java.lang.String[] kernelParams
public Evaluation_ImplBase(java.io.File baseDirectory, java.io.File rawTextDirectory, java.io.File xmlDirectory, Evaluation_ImplBase.XMLFormat xmlFormat, Evaluation_ImplBase.Subcorpus subcorpus, java.io.File xmiDirectory, java.io.File treebankDirectory)
public static java.util.List<java.lang.Integer> getTrainItems(Evaluation_ImplBase.Options options)
public static java.util.List<java.lang.Integer> getTestItems(Evaluation_ImplBase.Options options)
public void setI2B2Output(java.lang.String outDir)
public void prepareXMIsFor(java.util.List<java.lang.Integer> patientSets) throws java.lang.Exception
java.lang.Exception
private java.util.List<java.io.File> getFilesFor(java.util.List<java.lang.Integer> patientSets) throws java.io.FileNotFoundException
java.io.FileNotFoundException
protected CollectionReader getCollectionReader(java.util.List<java.lang.Integer> patientSets) throws java.lang.Exception
java.lang.Exception
protected AggregateBuilder getPreprocessorAggregateBuilder() throws java.lang.Exception
java.lang.Exception
protected AggregateBuilder getXMIReadingPreprocessorAggregateBuilder() throws UIMAException
UIMAException
protected AggregateBuilder getXMIWritingPreprocessorAggregateBuilder() throws java.lang.Exception
java.lang.Exception
public static <T extends Annotation> java.util.List<T> selectExact(JCas jCas, java.lang.Class<T> annotationClass, Segment segment)
static java.io.File getXMIFile(java.io.File xmiDirectory, java.io.File textFile)
static java.io.File getXMIFile(java.io.File xmiDirectory, JCas jCas) throws AnalysisEngineProcessException
AnalysisEngineProcessException