Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.uima.util
Class AnalysisEngineUtils

    java.lang.Object
      org.apache.uima.util.AnalysisEngineUtils

    public class AnalysisEngineUtils

extends Object

Static utility methods relating to analysis engines.

Constructor Summary
`AnalysisEngineUtils()`

Method Summary
`static FSMatchConstraint` | `createOutputFilter(AnalysisEngineMetaData aMetaData)` Creates a FSMatchConstraint used when formatting the CAS for output.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### AnalysisEngineUtils

    public AnalysisEngineUtils()

Method Detail

### createOutputFilter

    public static FSMatchConstraint createOutputFilter(AnalysisEngineMetaData aMetaData)

  Creates a FSMatchConstraint used when formatting the CAS for output. This constraint filters the feature structures in the CAS so that the only feature sturctures that are outputted are those of types specified in the Analysis Engine's capability specification.

  Parameters:
    `aMetaData` - metadata for the text analysis engine that is producing the results to be filtered
  Returns:
    the filter to be passed to `TCasFormatter.format(CAS,FSMatchConstraint)`.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2007 The Apache Software Foundation. All Rights Reserved.