CAS Consumers may be registered with a {@link CollectionProcessingManager} (CPM). Duringcollection processing, the CPM will pass each CAS from its Analysis Engine to each CAS consumer's process method. The CAS consumer can extract information from the CAS and do anything it wants with that information; commonly CAS consumers will build aggregate data structures such as search engine indices or glossaries.
CasConsumer
s are also UIMA {@link ConfigurableResource}s, and can be instantiated from descriptors. See {@link org.apache.uima.util.XMLParser#parseCasConsumerDescription(XMLInputSource)} and{@link org.apache.uima.UIMAFramework#produceCasConsumer(ResourceSpecifier,Map)} for moreinformation.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|