20.08.2013 Views

Apache UIMA Ruta Guide and Reference - Apache UIMA - The ...

Apache UIMA Ruta Guide and Reference - Apache UIMA - The ...

Apache UIMA Ruta Guide and Reference - Apache UIMA - The ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Ruta</strong> Engine<br />

1.5.1.2. Configuration Parameters<br />

<strong>The</strong> configuration parameters of the <strong>UIMA</strong> <strong>Ruta</strong> Analysis Engine can be subdivided<br />

into three different groups: parameters for the setup of the environment (mainScript to<br />

additionalExtensions), parameters that change the behavior of the analysis engine (reloadScript to<br />

simpleGreedyForComposed) <strong>and</strong> parameters for creating additional information how the rules were<br />

executed (debug to createdBy). First, a short overview of the configuration parameters is given in<br />

Table 1.1, “Configuration parameters of the <strong>UIMA</strong> <strong>Ruta</strong> Analysis Engine ” [11]. Afterwards,<br />

all parameters are described in detail with examples.<br />

To change the value of any configuration parameter within a <strong>UIMA</strong> <strong>Ruta</strong> script, the<br />

CONFIGURE action (see Section 2.7.8, “CONFIGURE” [42]) can be used. For changing<br />

behaviour of dynamicAnchoring the DYNAMICANCHORING action (see Section 2.7.11,<br />

“DYNAMICANCHORING” [43]) is recommended.<br />

Table 1.1. Configuration parameters of the <strong>UIMA</strong> <strong>Ruta</strong> Analysis Engine<br />

Name Short description Type<br />

mainScript Name with complete namespace of the script<br />

which will be interpreted <strong>and</strong> executed by the<br />

analysis engine.<br />

Single String<br />

scriptEncoding Encoding of all <strong>UIMA</strong> <strong>Ruta</strong> script files. Single String<br />

scriptPaths List of absolute locations, which contain the<br />

necessary script files like the main script.<br />

descriptorPaths List of absolute locations, which contain the<br />

necessary descriptor files like type systems.<br />

resourcePaths List of absolute locations, which contain the<br />

necessary resource files like word lists.<br />

additionalScripts List of names with complete namespace of<br />

additional scripts, which can be referred to.<br />

additionalEngines List of names with complete namespace of<br />

additional analysis engines, which can be<br />

called by <strong>UIMA</strong> <strong>Ruta</strong> rules.<br />

additionalEngineLoaders List of class names of implementations that are<br />

able to perform additional task when loading<br />

external analysis engines.<br />

additionalExtensions List of factory classes for additional extensions<br />

of the <strong>UIMA</strong> <strong>Ruta</strong> language like proprietary<br />

conditions.<br />

reloadScript Option to initialize the rule script each time the<br />

analysis engine processes a CAS.<br />

seeders List of class names that provide additional<br />

annotations before the rules are executed.<br />

defaultFilteredTypes List of complete type names of annotations that<br />

are invisible by default.<br />

Multi String<br />

Multi String<br />

Multi String<br />

Multi String<br />

Multi String<br />

Multi String<br />

Multi String<br />

Single Boolean<br />

Multi String<br />

Multi String<br />

<strong>UIMA</strong> <strong>Ruta</strong> Version 2.0.1 <strong>Apache</strong> <strong>UIMA</strong> <strong>Ruta</strong> Overview 11

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!