org.apache.uima.simpleserver
Class ResultExtractor
java.lang.Object
org.apache.uima.simpleserver.ResultExtractor
public class ResultExtractor
- extends Object
This class contains static methods responsible for iterating over annotations, applying filters
and building output.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResultExtractor
public ResultExtractor()
getResult
public Result getResult(org.apache.uima.cas.CAS cas,
ServerSpec resultSpec)
- Extract a set of results from a CAS and a result specification.
- Parameters:
cas
- The CAS to extract results from.resultSpec
- The result specification.
makeOutputs
public static void makeOutputs(ResultEntryImpl resultEntry,
org.apache.uima.cas.text.AnnotationFS annotation,
TypeMap tspec)
Copyright © 2006-2011 The Apache Software Foundation. All Rights Reserved.