Skip to content

03 Declarative Approach

Franz Matthies edited this page May 25, 2016 · 2 revisions

UIMA's Collection Processing Engine (CPE)

UIMA features a relatively easy way to combine UIMA components together in order to analyze a collection of artifacts. If you're not firm or willing to deal with Java Code, the usage of a CPE might be the right choice. For more detailed information see UIMA's CPE Documentation.

We're also working on a simple Python script that builds rudimentary and preconfigured CPEs of your choice. It's working but still work in progress so please bear with us and post issues.

You'll need Python 3 for starting the script and everything was only tested on Linux. Start the script with

python cpe-builder.py

It will then ask you to plug together a pipeline consisting of a Collection Reader, several Analysis Engines of your choice and (at the moment only) one CAS Consumer.
The script makes (for most of the cases) sure, that you don't select an Analysis Engine or a Consumer which's capabilities aren't met.

If you choose the command build pipeline during the script's runtime, input and output folder for the data will be created and all necessary Maven artifacts will be downloaded.

Clone this wiki locally