public class EvalUtil extends Object
Constructor and Description |
---|
EvalUtil() |
Modifier and Type | Method and Description |
---|---|
static Result |
dumpResults(File targetFolder,
Collection<? extends Object> aExpected,
Collection<? extends Object> aActual) |
static <T extends org.apache.uima.jcas.tcas.Annotation> |
loadSamples(org.apache.uima.collection.CollectionReaderDescription aReader,
Class<T> aType) |
static <T extends org.apache.uima.jcas.tcas.Annotation> |
loadSamples(org.apache.uima.collection.CollectionReaderDescription aReader,
Class<T> aType,
Function<T,String> aLabelFunction) |
static <T extends org.apache.uima.jcas.tcas.Annotation> |
loadSamples(org.apache.uima.fit.pipeline.JCasIterable aIterable,
Class<T> aType,
Function<T,String> aLabelFunction) |
public static <T extends org.apache.uima.jcas.tcas.Annotation> List<Span<String>> loadSamples(org.apache.uima.collection.CollectionReaderDescription aReader, Class<T> aType) throws org.apache.uima.UIMAException, IOException
org.apache.uima.UIMAException
IOException
public static <T extends org.apache.uima.jcas.tcas.Annotation> List<Span<String>> loadSamples(org.apache.uima.collection.CollectionReaderDescription aReader, Class<T> aType, Function<T,String> aLabelFunction) throws org.apache.uima.UIMAException, IOException
org.apache.uima.UIMAException
IOException
public static <T extends org.apache.uima.jcas.tcas.Annotation> List<Span<String>> loadSamples(org.apache.uima.fit.pipeline.JCasIterable aIterable, Class<T> aType, Function<T,String> aLabelFunction) throws org.apache.uima.UIMAException, IOException
org.apache.uima.UIMAException
IOException
public static Result dumpResults(File targetFolder, Collection<? extends Object> aExpected, Collection<? extends Object> aActual) throws UnsupportedEncodingException, FileNotFoundException
Copyright © 2007–2018 Ubiquitous Knowledge Processing (UKP) Lab, Technische Universität Darmstadt. All rights reserved.