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.

2.7.10.2. Example:<br />

Name{->DEL};<br />

DYNAMICANCHORING<br />

This rule deletes all text fragments that are annotated with a Name annotation.<br />

2.7.11. DYNAMICANCHORING<br />

<strong>The</strong> DYNAMICANCHORING action turns dynamic anchoring on or off (first parameter) <strong>and</strong><br />

assigns the anchoring parameters penalty (second parameter) <strong>and</strong> factor (third parameter).<br />

2.7.11.1. Definition:<br />

DYNAMICANCHORING(BooleanExpression<br />

(,NumberExpression(,NumberExpression)?)?)<br />

2.7.11.2. Example:<br />

Document{->DYNAMICANCHORING(true)};<br />

<strong>The</strong> above mentioned example activates dynamic anchoring.<br />

2.7.12. EXEC<br />

<strong>The</strong> EXEC action initiates the execution of a different script file or analysis engine on the complete<br />

input document, independent from the matched text <strong>and</strong> the current filtering settings. If the<br />

argument refers to another script file, a new view on the document is created: the complete text of<br />

the original CAS with the default filtering settings of the <strong>UIMA</strong> <strong>Ruta</strong> analysis engine.<br />

2.7.12.1. Definition:<br />

EXEC(DifferentFile)<br />

2.7.12.2. Example:<br />

2.7.13. FILL<br />

ENGINE NamedEntities;<br />

Document{->EXEC(NamedEntities)};<br />

Here, an analysis engine for named entity recognition is executed once on the complete document.<br />

<strong>The</strong> FILL action fills a choosen subset of the given type's feature elements.<br />

2.7.13.1. Definition:<br />

FILL(TypeExpression(,StringExpression = Expression)+)<br />

<strong>UIMA</strong> <strong>Ruta</strong> Version 2.0.1 <strong>Apache</strong> <strong>UIMA</strong> <strong>Ruta</strong> Language 43

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

Saved successfully!

Ooh no, something went wrong!