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 ...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
profile<br />
Annotation Writer<br />
If this parameter is set to true, then additional information about the runtime of applied rules is<br />
added to the CAS. <strong>The</strong> default value of this parameter is set to false.<br />
statistics<br />
If this parameter is set to true, then additional information about the runtime of <strong>UIMA</strong> <strong>Ruta</strong><br />
language elements like conditions <strong>and</strong> actions is added to the CAS. <strong>The</strong> default value of this<br />
parameter is set to false.<br />
createdBy<br />
If this parameter is set to true, then additional information about what annotation was created by<br />
which rule is added to the CAS. <strong>The</strong> default value of this parameter is set to false.<br />
1.5.2. Annotation Writer<br />
This Analysis Engine can be utilized to write the covered text of annotations in a text file, whereas<br />
each covered text is put into a new line. If the Analyis engine, for example, is configured for the<br />
type “uima.example.Person”, then all covered texts of all Person annotations are stored in a text<br />
file, one person in each line. A descriptor file for this Analysis Engine is located in the folder<br />
“descriptor/utils” of a <strong>UIMA</strong> <strong>Ruta</strong> project.<br />
1.5.2.1. Configuration Parameters<br />
Output<br />
This string parameter specifies the absolute path of the resulting file named “output.txt”. However,<br />
if an annotation of the type “org.apache.uima.examples.SourceDocumentInformation” is given,<br />
then the value of this parameter is interpreted to be relative to the URI stored in the annotation <strong>and</strong><br />
the name of the file will be adapted to the name of the source file. <strong>The</strong> <strong>UIMA</strong> <strong>Ruta</strong> Workbench<br />
automatically adds the SourceDocumentInformation annotation when the user launches a script file.<br />
<strong>The</strong> default value of this parameter is “/../output/”.<br />
Encoding<br />
Type<br />
This string parameter specifies the encoding of the resulting file. <strong>The</strong> default value of this<br />
parameter is “UTF-8”.<br />
Only the covered texts of annotations of the type specified with this parameter are stored in the<br />
resulting file. <strong>The</strong> default value of this parameter is “uima.tcas.DocumentAnnotation”, which will<br />
store the complete document in a new file.<br />
1.5.3. Plain Text Annotator<br />
This Analysis Engines adds annotations for lines <strong>and</strong> paragraphs. A descriptor file for this<br />
Analysis Engine is located in the folder “descriptor/utils” of a <strong>UIMA</strong> <strong>Ruta</strong> project. <strong>The</strong>re are no<br />
configuration parameters.<br />
<strong>UIMA</strong> <strong>Ruta</strong> Version 2.0.1 <strong>Apache</strong> <strong>UIMA</strong> <strong>Ruta</strong> Overview 15