You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by pk...@apache.org on 2016/02/15 11:02:29 UTC
svn commit: r1730476 [2/3] - in /uima/site/trunk/uima-website:
docs/d/ruta-current/tools.ruta.book.html
docs/d/ruta-current/tools.ruta.book.pdf xdocs/stylesheets/project.xml
Modified: uima/site/trunk/uima-website/docs/d/ruta-current/tools.ruta.book.html
URL: http://svn.apache.org/viewvc/uima/site/trunk/uima-website/docs/d/ruta-current/tools.ruta.book.html?rev=1730476&r1=1730475&r2=1730476&view=diff
==============================================================================
--- uima/site/trunk/uima-website/docs/d/ruta-current/tools.ruta.book.html (original)
+++ uima/site/trunk/uima-website/docs/d/ruta-current/tools.ruta.book.html Mon Feb 15 10:02:28 2016
@@ -2,7 +2,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Apache UIMA Ruta™ Guide and Reference</title><link rel="stylesheet" type="text/css" href="css/stylesheet-html.css"><meta name="generator" content="DocBook XSL-NS Stylesheets V1.76.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div lang="en" class="book" title="Apache UIMA Ruta™ Guide and Reference" id="d5e1"><div xmlns:d="http://docbook.org/ns/docbook" class="titlepage"><div><div><h1 class="title">Apache UIMA Ruta™ Guide and Reference</h1></div><div><div class="authorgroup">
<h3 class="corpauthor">Written and maintained by the Apache UIMA Development Community</h3>
- </div></div><div><p class="releaseinfo">Version 2.3.1</p></div><div><p class="copyright">Copyright © 2011, 2015 The Apache Software Foundation</p></div><div><div class="legalnotice" title="Legal Notice"><a name="d5e8"></a>
+ </div></div><div><p class="releaseinfo">Version 2.4.0</p></div><div><p class="copyright">Copyright © 2011, 2016 The Apache Software Foundation</p></div><div><div class="legalnotice" title="Legal Notice"><a name="d5e8"></a>
<p> </p>
<p title="License and Disclaimer">
<b>License and Disclaimer. </b>
@@ -35,11 +35,11 @@
the trademark or service mark.
</p>
- </div></div><div><p class="pubdate">August, 2015</p></div></div><hr></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="chapter"><a href="#ugr.tools.ruta.overview">1. Apache UIMA Ruta Overview</a></span></dt><dd><dl><dt><span class="section"><a href="#ugr.tools.ruta.overview.intro">1.1. What is Apache UIMA Ruta?</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.overview.gettingstarted">1.2. Getting started</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.overview.coreconcepts">1.3. Core Concepts</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.overview.examples">1.4. Learning by Example</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.ae">1.5. UIMA Analysis Engines</a></span></dt><dd><dl><dt><span class="section"><a href="#ugr.tools.ruta.ae.basic">1.5.1. Ruta Engine</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.ae.annotationwriter">1.5.2. Annotation Writer</a></span></dt
><dt><span class="section"><a href="#ugr.tools.ruta.ae.plaintext">1.5.3. Plain Text Annotator</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.ae.modifier">1.5.4. Modifier</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.ae.html">1.5.5. HTML Annotator</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.ae.htmlconverter">1.5.6. HTML Converter</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.ae.stylemap">1.5.7. Style Map Creator</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.ae.cutter">1.5.8. Cutter</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.ae.view">1.5.9. View Writer</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.ae.xmi">1.5.10. XMI Writer</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="#ugr.tools.ruta.language.language">2. Apache UIMA Ruta Language</a></span></dt><dd><dl><dt><span class="section"><a href="#ugr.tools.ruta.language.syntax
">2.1. Syntax</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.anchoring">2.2. Rule elements and their matching order</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.seeding">2.3. Basic annotations and tokens</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.quantifier">2.4. Quantifiers</a></span></dt><dd><dl><dt><span class="section"><a href="#ugr.tools.ruta.language.quantifier.sg">2.4.1. * Star Greedy</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.quantifier.sr">2.4.2. *? Star Reluctant</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.quantifier.pg">2.4.3. + Plus Greedy</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.quantifier.pr">2.4.4. +? Plus Reluctant</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.quantifier.qg">2.4.5. ? Question Greedy</a></span></dt><dt><span class="section"><a href="#ugr.t
ools.ruta.language.quantifier.qr">2.4.6. ?? Question Reluctant</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.quantifier.mmg">2.4.7. [x,y] Min Max Greedy</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.quantifier.mmr">2.4.8. [x,y]? Min Max Reluctant</a></span></dt></dl></dd><dt><span class="section"><a href="#ugr.tools.ruta.language.declarations">2.5. Declarations</a></span></dt><dd><dl><dt><span class="section"><a href="#ugr.tools.ruta.language.declarations.type">2.5.1. Types</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.declarations.variable">2.5.2. Variables</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.declarations.ressource">2.5.3. Resources</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.declarations.scripts">2.5.4. Scripts</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.declarations.components">2.5.5. Components
</a></span></dt></dl></dd><dt><span class="section"><a href="#ugr.tools.ruta.language.expressions">2.6. Expressions</a></span></dt><dd><dl><dt><span class="section"><a href="#ugr.tools.ruta.language.expressions.type">2.6.1. Type Expressions</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.expressions.number">2.6.2. Number Expressions</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.expressions.string">2.6.3. String Expressions</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.expressions.boolean">2.6.4. Boolean Expressions</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.expressions.lists">2.6.5. List Expressions</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.expressions.features">2.6.6. Feature Expressions</a></span></dt></dl></dd><dt><span class="section"><a href="#ugr.tools.ruta.language.conditions">2.7. Conditions</a></span></dt><dd><dl><dt><span cla
ss="section"><a href="#ugr.tools.ruta.language.conditions.after">2.7.1. AFTER</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.conditions.and">2.7.2. AND</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.conditions.before">2.7.3. BEFORE</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.conditions.contains">2.7.4. CONTAINS</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.conditions.contextcount">2.7.5. CONTEXTCOUNT</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.conditions.count">2.7.6. COUNT</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.conditions.currentcount">2.7.7. CURRENTCOUNT</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.conditions.endswith">2.7.8. ENDSWITH</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.conditions.feature">2.7.9. FEATURE</a></span></dt><dt><span clas
s="section"><a href="#ugr.tools.ruta.language.conditions.if">2.7.10. IF</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.conditions.inlist">2.7.11. INLIST</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.conditions.is">2.7.12. IS</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.conditions.last">2.7.13. LAST</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.conditions.mofn">2.7.14. MOFN</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.conditions.near">2.7.15. NEAR</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.conditions.not">2.7.16. NOT</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.conditions.or">2.7.17. OR</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.conditions.parse">2.7.18. PARSE</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.conditions.par
tof">2.7.19. PARTOF</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.conditions.partofneq">2.7.20. PARTOFNEQ</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.conditions.position">2.7.21. POSITION</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.conditions.regexp">2.7.22. REGEXP</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.conditions.score">2.7.23. SCORE</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.conditions.size">2.7.24. SIZE</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.conditions.startswith">2.7.25. STARTSWITH</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.conditions.totalcount">2.7.26. TOTALCOUNT</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.conditions.vote">2.7.27. VOTE</a></span></dt></dl></dd><dt><span class="section"><a href="#ugr.tools.ruta.language.acti
ons">2.8. Actions</a></span></dt><dd><dl><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.add">2.8.1. ADD</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.addfiltertype">2.8.2. ADDFILTERTYPE</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.addretaintype">2.8.3. ADDRETAINTYPE</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.assign">2.8.4. ASSIGN</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.call">2.8.5. CALL</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.clear">2.8.6. CLEAR</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.color">2.8.7. COLOR</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.configure">2.8.8. CONFIGURE</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.create">2.8.9. CREATE</a></s
pan></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.del">2.8.10. DEL</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.dynamicanchoring">2.8.11. DYNAMICANCHORING</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.exec">2.8.12. EXEC</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.fill">2.8.13. FILL</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.filtertype">2.8.14. FILTERTYPE</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.gather">2.8.15. GATHER</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.get">2.8.16. GET</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.getfeature">2.8.17. GETFEATURE</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.getlist">2.8.18. GETLIST</a></span></dt><dt><span class=
"section"><a href="#ugr.tools.ruta.language.actions.greedyanchoring">2.8.19. GREEDYANCHORING</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.log">2.8.20. LOG</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.mark">2.8.21. MARK</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.markfast">2.8.22. MARKFAST</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.markfirst">2.8.23. MARKFIRST</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.marklast">2.8.24. MARKLAST</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.markonce">2.8.25. MARKONCE</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.markscore">2.8.26. MARKSCORE</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.marktable">2.8.27. MARKTABLE</a></span></dt><dt><span class="sect
ion"><a href="#ugr.tools.ruta.language.actions.matchedtext">2.8.28. MATCHEDTEXT</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.merge">2.8.29. MERGE</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.remove">2.8.30. REMOVE</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.removeduplicate">2.8.31. REMOVEDUPLICATE</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.removefiltertype">2.8.32. REMOVEFILTERTYPE</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.removeretaintype">2.8.33. REMOVERETAINTYPE</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.replace">2.8.34. REPLACE</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.retaintype">2.8.35. RETAINTYPE</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.setfeature">2.8.36. SETFEA
TURE</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.shift">2.8.37. SHIFT</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.transfer">2.8.38. TRANSFER</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.trie">2.8.39. TRIE</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.trim">2.8.40. TRIM</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.unmark">2.8.41. UNMARK</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.unmarkall">2.8.42. UNMARKALL</a></span></dt></dl></dd><dt><span class="section"><a href="#ugr.tools.ruta.language.filtering">2.9. Robust extraction using filtering</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.blocks">2.10. Blocks</a></span></dt><dd><dl><dt><span class="section"><a href="#ugr.tools.ruta.language.blocks.condition">2.10.1. Conditioned stat
ements</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.blocks.foreach">2.10.2.
+ </div></div><div><p class="pubdate">January, 2016</p></div></div><hr></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="chapter"><a href="#ugr.tools.ruta.overview">1. Apache UIMA Ruta Overview</a></span></dt><dd><dl><dt><span class="section"><a href="#ugr.tools.ruta.overview.intro">1.1. What is Apache UIMA Ruta?</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.overview.gettingstarted">1.2. Getting started</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.overview.coreconcepts">1.3. Core Concepts</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.overview.examples">1.4. Learning by Example</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.ae">1.5. UIMA Analysis Engines</a></span></dt><dd><dl><dt><span class="section"><a href="#ugr.tools.ruta.ae.basic">1.5.1. Ruta Engine</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.ae.annotationwriter">1.5.2. Annotation Writer</a></span></d
t><dt><span class="section"><a href="#ugr.tools.ruta.ae.plaintext">1.5.3. Plain Text Annotator</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.ae.modifier">1.5.4. Modifier</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.ae.html">1.5.5. HTML Annotator</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.ae.htmlconverter">1.5.6. HTML Converter</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.ae.stylemap">1.5.7. Style Map Creator</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.ae.cutter">1.5.8. Cutter</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.ae.view">1.5.9. View Writer</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.ae.xmi">1.5.10. XMI Writer</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="#ugr.tools.ruta.language.language">2. Apache UIMA Ruta Language</a></span></dt><dd><dl><dt><span class="section"><a href="#ugr.tools.ruta.language.synta
x">2.1. Syntax</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.anchoring">2.2. Rule elements and their matching order</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.seeding">2.3. Basic annotations and tokens</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.quantifier">2.4. Quantifiers</a></span></dt><dd><dl><dt><span class="section"><a href="#ugr.tools.ruta.language.quantifier.sg">2.4.1. * Star Greedy</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.quantifier.sr">2.4.2. *? Star Reluctant</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.quantifier.pg">2.4.3. + Plus Greedy</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.quantifier.pr">2.4.4. +? Plus Reluctant</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.quantifier.qg">2.4.5. ? Question Greedy</a></span></dt><dt><span class="section"><a href="#ugr.
tools.ruta.language.quantifier.qr">2.4.6. ?? Question Reluctant</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.quantifier.mmg">2.4.7. [x,y] Min Max Greedy</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.quantifier.mmr">2.4.8. [x,y]? Min Max Reluctant</a></span></dt></dl></dd><dt><span class="section"><a href="#ugr.tools.ruta.language.declarations">2.5. Declarations</a></span></dt><dd><dl><dt><span class="section"><a href="#ugr.tools.ruta.language.declarations.type">2.5.1. Types</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.declarations.variable">2.5.2. Variables</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.declarations.ressource">2.5.3. Resources</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.declarations.scripts">2.5.4. Scripts</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.declarations.components">2.5.5. Component
s</a></span></dt></dl></dd><dt><span class="section"><a href="#ugr.tools.ruta.language.expressions">2.6. Expressions</a></span></dt><dd><dl><dt><span class="section"><a href="#ugr.tools.ruta.language.expressions.type">2.6.1. Type Expressions</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.expressions.number">2.6.2. Number Expressions</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.expressions.string">2.6.3. String Expressions</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.expressions.boolean">2.6.4. Boolean Expressions</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.expressions.lists">2.6.5. List Expressions</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.expressions.features">2.6.6. Feature Expressions</a></span></dt></dl></dd><dt><span class="section"><a href="#ugr.tools.ruta.language.conditions">2.7. Conditions</a></span></dt><dd><dl><dt><span cl
ass="section"><a href="#ugr.tools.ruta.language.conditions.after">2.7.1. AFTER</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.conditions.and">2.7.2. AND</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.conditions.before">2.7.3. BEFORE</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.conditions.contains">2.7.4. CONTAINS</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.conditions.contextcount">2.7.5. CONTEXTCOUNT</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.conditions.count">2.7.6. COUNT</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.conditions.currentcount">2.7.7. CURRENTCOUNT</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.conditions.endswith">2.7.8. ENDSWITH</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.conditions.feature">2.7.9. FEATURE</a></span></dt><dt><span cla
ss="section"><a href="#ugr.tools.ruta.language.conditions.if">2.7.10. IF</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.conditions.inlist">2.7.11. INLIST</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.conditions.is">2.7.12. IS</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.conditions.last">2.7.13. LAST</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.conditions.mofn">2.7.14. MOFN</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.conditions.near">2.7.15. NEAR</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.conditions.not">2.7.16. NOT</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.conditions.or">2.7.17. OR</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.conditions.parse">2.7.18. PARSE</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.conditions.pa
rtof">2.7.19. PARTOF</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.conditions.partofneq">2.7.20. PARTOFNEQ</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.conditions.position">2.7.21. POSITION</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.conditions.regexp">2.7.22. REGEXP</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.conditions.score">2.7.23. SCORE</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.conditions.size">2.7.24. SIZE</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.conditions.startswith">2.7.25. STARTSWITH</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.conditions.totalcount">2.7.26. TOTALCOUNT</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.conditions.vote">2.7.27. VOTE</a></span></dt></dl></dd><dt><span class="section"><a href="#ugr.tools.ruta.language.act
ions">2.8. Actions</a></span></dt><dd><dl><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.add">2.8.1. ADD</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.addfiltertype">2.8.2. ADDFILTERTYPE</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.addretaintype">2.8.3. ADDRETAINTYPE</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.assign">2.8.4. ASSIGN</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.call">2.8.5. CALL</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.clear">2.8.6. CLEAR</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.color">2.8.7. COLOR</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.configure">2.8.8. CONFIGURE</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.create">2.8.9. CREATE</a></
span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.del">2.8.10. DEL</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.dynamicanchoring">2.8.11. DYNAMICANCHORING</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.exec">2.8.12. EXEC</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.fill">2.8.13. FILL</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.filtertype">2.8.14. FILTERTYPE</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.gather">2.8.15. GATHER</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.get">2.8.16. GET</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.getfeature">2.8.17. GETFEATURE</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.getlist">2.8.18. GETLIST</a></span></dt><dt><span class
="section"><a href="#ugr.tools.ruta.language.actions.greedyanchoring">2.8.19. GREEDYANCHORING</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.log">2.8.20. LOG</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.mark">2.8.21. MARK</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.markfast">2.8.22. MARKFAST</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.markfirst">2.8.23. MARKFIRST</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.marklast">2.8.24. MARKLAST</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.markonce">2.8.25. MARKONCE</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.markscore">2.8.26. MARKSCORE</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.marktable">2.8.27. MARKTABLE</a></span></dt><dt><span class="sec
tion"><a href="#ugr.tools.ruta.language.actions.matchedtext">2.8.28. MATCHEDTEXT</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.merge">2.8.29. MERGE</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.remove">2.8.30. REMOVE</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.removeduplicate">2.8.31. REMOVEDUPLICATE</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.removefiltertype">2.8.32. REMOVEFILTERTYPE</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.removeretaintype">2.8.33. REMOVERETAINTYPE</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.replace">2.8.34. REPLACE</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.retaintype">2.8.35. RETAINTYPE</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.setfeature">2.8.36. SETFE
ATURE</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.shift">2.8.37. SHIFT</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.split">2.8.38. SHIFT</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.transfer">2.8.39. TRANSFER</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.trie">2.8.40. TRIE</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.trim">2.8.41. TRIM</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.unmark">2.8.42. UNMARK</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.actions.unmarkall">2.8.43. UNMARKALL</a></span></dt></dl></dd><dt><span class="section"><a href="#ugr.tools.ruta.language.filtering">2.9. Robust extraction using filtering</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.blocks">2.10. Blocks</a></span></dt><dd><
dl><dt><span class="section"><a href="#ugr.tools.ruta.language.blocks.condition">2.10.1. Conditioned statements</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.blocks.foreach">2.10.2.
<span class="quote">“<span class="quote">Foreach</span>”</span>
-Loops
- </a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.blocks.procedure">2.10.3. Procedures</a></span></dt></dl></dd><dt><span class="section"><a href="#ugr.tools.ruta.language.inlined">2.11. Inlined rules</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.score">2.12. Heuristic extraction using scoring rules</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.modification">2.13. Modification</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.external_resources">2.14. External resources</a></span></dt><dd><dl><dt><span class="section"><a href="#d5e2370">2.14.1. WORDLISTs</a></span></dt><dt><span class="section"><a href="#d5e2390">2.14.2. WORDTABLEs</a></span></dt></dl></dd><dt><span class="section"><a href="#ugr.tools.ruta.language.regexprule">2.15. Simple Rules based on Regular Expressions</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.extensions">2.16. Lang
uage Extensions</a></span></dt><dd><dl><dt><span class="section"><a href="#ugr.tools.ruta.language.extensions.core-ext">2.16.1. Provided Extensions</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.extensions.core-ext.onlyonce">2.16.2. ONLYONCE</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.extensions.core-ext.stringfunctions">2.16.3. Stringfunctions</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.extensions.new">2.16.4. Adding new Language Elements</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="#ugr.tools.ruta.workbench">3. Apache UIMA Ruta Workbench</a></span></dt><dd><dl><dt><span class="section"><a href="#section.ugr.tools.ruta.workbench.install">3.1. Installation</a></span></dt><dt><span class="section"><a href="#section.ugr.tools.ruta.workbench.overview">3.2. UIMA Ruta Workbench Overview</a></span></dt><dt><span class="section"><a href="#section.ugr.tools.ruta.workbench.proje
cts">3.3. UIMA Ruta Projects</a></span></dt><dd><dl><dt><span class="section"><a href="#section.ugr.tools.ruta.workbench.projects.create_projects">3.3.1. UIMA Ruta create project wizard</a></span></dt></dl></dd><dt><span class="section"><a href="#section.ugr.tools.ruta.workbench.ruta_perspective">3.4. UIMA Ruta Perspective</a></span></dt><dd><dl><dt><span class="section"><a href="#section.ugr.tools.ruta.workbench.ruta_perspective.annotation_browser">3.4.1. Annotation Browser</a></span></dt><dt><span class="section"><a href="#section.ugr.tools.ruta.workbench.ruta_perspective.selection">3.4.2. Selection</a></span></dt></dl></dd><dt><span class="section"><a href="#section.ugr.tools.ruta.workbench.explain_perspective">3.5. UIMA Ruta Explain Perspective</a></span></dt><dd><dl><dt><span class="section"><a href="#section.ugr.tools.ruta.workbench.explain_perspective.applied_rules">3.5.1. Applied Rules</a></span></dt><dt><span class="section"><a href="#section.ugr.tools.ruta.workbench.explai
n_perspective.matched_and_failed_rules">3.5.2. Matched Rules and Failed Rules</a></span></dt><dt><span class="section"><a href="#section.ugr.tools.ruta.workbench.explain_perspective.rule_elements">3.5.3. Rule Elements</a></span></dt><dt><span class="section"><a href="#section.ugr.tools.ruta.workbench.explain_perspective.covering_rules">3.5.4. Covering Rules</a></span></dt><dt><span class="section"><a href="#section.ugr.tools.ruta.workbench.explain_perspective.rule_list">3.5.5. Rule List</a></span></dt><dt><span class="section"><a href="#section.ugr.tools.ruta.workbench.explain_perspective.created_by">3.5.6. Created By</a></span></dt><dt><span class="section"><a href="#section.ugr.tools.ruta.workbench.explain_perspective.statistics">3.5.7. Statistics</a></span></dt></dl></dd><dt><span class="section"><a href="#section.tools.ruta.workbench.cde">3.6. UIMA Ruta CDE perspective</a></span></dt><dd><dl><dt><span class="section"><a href="#section.tools.ruta.workbench.cde.documents">3.6.1. C
DE Documents view</a></span></dt><dt><span class="section"><a href="#section.tools.ruta.workbench.cde.constraints">3.6.2. CDE Constraints view</a></span></dt><dt><span class="section"><a href="#section.tools.ruta.workbench.cde.result">3.6.3. CDE Result view</a></span></dt></dl></dd><dt><span class="section"><a href="#section.ugr.tools.ruta.workbench.ruta_query">3.7. Ruta Query View</a></span></dt><dt><span class="section"><a href="#section.ugr.tools.ruta.workbench.testing">3.8. Testing</a></span></dt><dd><dl><dt><span class="section"><a href="#section.ugr.tools.ruta.workbench.testing.usage">3.8.1. Usage</a></span></dt><dt><span class="section"><a href="#section.ugr.tools.ruta.workbench.testing.evaluators">3.8.2. Evaluators</a></span></dt></dl></dd><dt><span class="section"><a href="#section.tools.ruta.workbench.textruler">3.9. TextRuler</a></span></dt><dd><dl><dt><span class="section"><a href="#section.tools.ruta.workbench.textruler.learner">3.9.1. Included rule learning algorithms<
/a></span></dt><dt><span class="section"><a href="#section.tools.ruta.workbench.textruler.ui">3.9.2. The TextRuler view</a></span></dt></dl></dd><dt><span class="section"><a href="#section.tools.ruta.workbench.check">3.10. Check Annotations view</a></span></dt><dt><span class="section"><a href="#section.ugr.tools.ruta.workbench.create_dictionaries">3.11. Creation of Tree Word Lists</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.workbench.apply">3.12. Apply a UIMA Ruta script to a folder</a></span></dt></dl></dd><dt><span class="chapter"><a href="#ugr.tools.ruta.howtos">4. Apache UIMA Ruta HowTos</a></span></dt><dd><dl><dt><span class="section"><a href="#ugr.tools.ruta.ae.basic.apply">4.1. Apply UIMA Ruta Analysis Engine in plain Java</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.integration">4.2. Integrating UIMA Ruta in an existing UIMA Annotator</a></span></dt><dd><dl><dt><span class="section"><a href="#ugr.tools.ruta.ae.integration.mvn">4.2.
1. Adding Ruta to our Annotator</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.ae.integration.loading">4.2.2. Developing Ruta rules and applying them from inside Java code
- </a></span></dt></dl></dd><dt><span class="section"><a href="#ugr.tools.ruta.maven">4.3. UIMA Ruta Maven Plugin</a></span></dt><dd><dl><dt><span class="section"><a href="#d5e3279">4.3.1. generate goal</a></span></dt><dt><span class="section"><a href="#d5e3284">4.3.2. twl goal</a></span></dt><dt><span class="section"><a href="#d5e3288">4.3.3. mtwl goal</a></span></dt></dl></dd><dt><span class="section"><a href="#section.tools.ruta.workbench.textruler.example">4.4. Induce rules with the TextRuler framework</a></span></dt><dt><span class="section"><a href="#section.tools.ruta.howto.html">4.5. HTML annotations in plain text</a></span></dt><dt><span class="section"><a href="#section.tools.ruta.howto.sorter">4.6. Sorting files with UIMA Ruta</a></span></dt><dt><span class="section"><a href="#section.tools.ruta.howto.xml">4.7. Converting XML documents with UIMA Ruta</a></span></dt></dl></dd></dl></div>
+ </a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.blocks.procedure">2.10.3. Procedures</a></span></dt></dl></dd><dt><span class="section"><a href="#ugr.tools.ruta.language.inlined">2.11. Inlined rules</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.score">2.12. Heuristic extraction using scoring rules</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.modification">2.13. Modification</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.external_resources">2.14. External resources</a></span></dt><dd><dl><dt><span class="section"><a href="#d5e2394">2.14.1. WORDLISTs</a></span></dt><dt><span class="section"><a href="#d5e2414">2.14.2. WORDTABLEs</a></span></dt></dl></dd><dt><span class="section"><a href="#ugr.tools.ruta.language.regexprule">2.15. Simple Rules based on Regular Expressions</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.extensions">2.16. Lang
uage Extensions</a></span></dt><dd><dl><dt><span class="section"><a href="#ugr.tools.ruta.language.extensions.core-ext">2.16.1. Provided Extensions</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.extensions.core-ext.onlyonce">2.16.2. ONLYONCE</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.extensions.core-ext.stringfunctions">2.16.3. Stringfunctions</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.extensions.new">2.16.4. Adding new Language Elements</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="#ugr.tools.ruta.workbench">3. Apache UIMA Ruta Workbench</a></span></dt><dd><dl><dt><span class="section"><a href="#section.ugr.tools.ruta.workbench.install">3.1. Installation</a></span></dt><dt><span class="section"><a href="#section.ugr.tools.ruta.workbench.overview">3.2. UIMA Ruta Workbench Overview</a></span></dt><dt><span class="section"><a href="#section.ugr.tools.ruta.workbench.proje
cts">3.3. UIMA Ruta Projects</a></span></dt><dd><dl><dt><span class="section"><a href="#section.ugr.tools.ruta.workbench.projects.create_projects">3.3.1. UIMA Ruta create project wizard</a></span></dt></dl></dd><dt><span class="section"><a href="#section.ugr.tools.ruta.workbench.ruta_perspective">3.4. UIMA Ruta Perspective</a></span></dt><dd><dl><dt><span class="section"><a href="#section.ugr.tools.ruta.workbench.ruta_perspective.annotation_browser">3.4.1. Annotation Browser</a></span></dt><dt><span class="section"><a href="#section.ugr.tools.ruta.workbench.ruta_perspective.selection">3.4.2. Selection</a></span></dt></dl></dd><dt><span class="section"><a href="#section.ugr.tools.ruta.workbench.explain_perspective">3.5. UIMA Ruta Explain Perspective</a></span></dt><dd><dl><dt><span class="section"><a href="#section.ugr.tools.ruta.workbench.explain_perspective.applied_rules">3.5.1. Applied Rules</a></span></dt><dt><span class="section"><a href="#section.ugr.tools.ruta.workbench.explai
n_perspective.matched_and_failed_rules">3.5.2. Matched Rules and Failed Rules</a></span></dt><dt><span class="section"><a href="#section.ugr.tools.ruta.workbench.explain_perspective.rule_elements">3.5.3. Rule Elements</a></span></dt><dt><span class="section"><a href="#section.ugr.tools.ruta.workbench.explain_perspective.covering_rules">3.5.4. Covering Rules</a></span></dt><dt><span class="section"><a href="#section.ugr.tools.ruta.workbench.explain_perspective.rule_list">3.5.5. Rule List</a></span></dt><dt><span class="section"><a href="#section.ugr.tools.ruta.workbench.explain_perspective.created_by">3.5.6. Created By</a></span></dt><dt><span class="section"><a href="#section.ugr.tools.ruta.workbench.explain_perspective.statistics">3.5.7. Statistics</a></span></dt></dl></dd><dt><span class="section"><a href="#section.tools.ruta.workbench.cde">3.6. UIMA Ruta CDE perspective</a></span></dt><dd><dl><dt><span class="section"><a href="#section.tools.ruta.workbench.cde.documents">3.6.1. C
DE Documents view</a></span></dt><dt><span class="section"><a href="#section.tools.ruta.workbench.cde.constraints">3.6.2. CDE Constraints view</a></span></dt><dt><span class="section"><a href="#section.tools.ruta.workbench.cde.result">3.6.3. CDE Result view</a></span></dt></dl></dd><dt><span class="section"><a href="#section.ugr.tools.ruta.workbench.ruta_query">3.7. Ruta Query View</a></span></dt><dt><span class="section"><a href="#section.ugr.tools.ruta.workbench.testing">3.8. Testing</a></span></dt><dd><dl><dt><span class="section"><a href="#section.ugr.tools.ruta.workbench.testing.usage">3.8.1. Usage</a></span></dt><dt><span class="section"><a href="#section.ugr.tools.ruta.workbench.testing.evaluators">3.8.2. Evaluators</a></span></dt></dl></dd><dt><span class="section"><a href="#section.tools.ruta.workbench.textruler">3.9. TextRuler</a></span></dt><dd><dl><dt><span class="section"><a href="#section.tools.ruta.workbench.textruler.learner">3.9.1. Included rule learning algorithms<
/a></span></dt><dt><span class="section"><a href="#section.tools.ruta.workbench.textruler.ui">3.9.2. The TextRuler view</a></span></dt></dl></dd><dt><span class="section"><a href="#section.tools.ruta.workbench.check">3.10. Check Annotations view</a></span></dt><dt><span class="section"><a href="#section.ugr.tools.ruta.workbench.create_dictionaries">3.11. Creation of Tree Word Lists</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.workbench.apply">3.12. Apply a UIMA Ruta script to a folder</a></span></dt></dl></dd><dt><span class="chapter"><a href="#ugr.tools.ruta.howtos">4. Apache UIMA Ruta HowTos</a></span></dt><dd><dl><dt><span class="section"><a href="#ugr.tools.ruta.ae.basic.apply">4.1. Apply UIMA Ruta Analysis Engine in plain Java</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.integration">4.2. Integrating UIMA Ruta in an existing UIMA Annotator</a></span></dt><dd><dl><dt><span class="section"><a href="#ugr.tools.ruta.ae.integration.mvn">4.2.
1. Adding Ruta to our Annotator</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.ae.integration.loading">4.2.2. Developing Ruta rules and applying them from inside Java code
+ </a></span></dt></dl></dd><dt><span class="section"><a href="#ugr.tools.ruta.maven">4.3. UIMA Ruta Maven Plugin</a></span></dt><dd><dl><dt><span class="section"><a href="#d5e3309">4.3.1. generate goal</a></span></dt><dt><span class="section"><a href="#d5e3314">4.3.2. twl goal</a></span></dt><dt><span class="section"><a href="#d5e3318">4.3.3. mtwl goal</a></span></dt></dl></dd><dt><span class="section"><a href="#section.tools.ruta.workbench.textruler.example">4.4. Induce rules with the TextRuler framework</a></span></dt><dt><span class="section"><a href="#section.tools.ruta.howto.html">4.5. HTML annotations in plain text</a></span></dt><dt><span class="section"><a href="#section.tools.ruta.howto.sorter">4.6. Sorting files with UIMA Ruta</a></span></dt><dt><span class="section"><a href="#section.tools.ruta.howto.xml">4.7. Converting XML documents with UIMA Ruta</a></span></dt></dl></dd></dl></div>
@@ -389,11 +389,6 @@ Sentence{CONTAINS(EmploymentIndicator) -
"employeeRef" = Employee, "employerRef" = Employer)};</pre>
<p>
- UIMA Ruta rules can not only be used to create or modify annotations, but also to create features for annotations. The next example defines
- and assigns a relation of employment, by storing the given annotations as feature values.
- </p>
-
- <p>
The first statement of this example is a declaration that defines a new type of annotation named <span class="quote">“<span class="quote">EmplRelation</span>”</span>.
This annotation has two features:
One feature with the name <span class="quote">“<span class="quote">employeeRef</span>”</span> of the type <span class="quote">“<span class="quote">Employee</span>”</span> and
@@ -408,7 +403,21 @@ Sentence{CONTAINS(EmploymentIndicator) -
</p>
<p>
- In the last example, the values of features were defined as annotation types. However, also primitive
+ In order to refer to annotations and, for example, assigning them to some features,
+ special kinds of local and global variables can be utilized. Local variables for annotations
+ do not need to be defined by are specified by a label at a rule element. This label can be utilized
+ for referring to the matched annoation of this rule element within the current rule match alone.
+ Global variables for annotations are declared like other variables and are able to store annotations
+ across rules. The following example illustrate some simple use cases using local variables:
+ </p>
+
+ <pre class="programlisting">DECLARE Annotation EmplRelation
+ (Employee employeeRef, Employer employerRef);
+e1:Employer # EmploymentIndicator # e2:Employee)
+ {-> EmplRelation, EmplRelation.employeeRef=e2, EmplRelation.employerRef=e1};</pre>
+
+ <p>
+ In the last examples, the values of features were defined as annotation types. However, also primitive
types can be used, as will be shown in the next example, together with a short introduction of variables.
</p>
@@ -714,6 +723,9 @@ Document{-> EXEC(MyAnalysisEngine, {M
<a class="link" href="#ugr.tools.ruta.ae.basic.parameter.removeBasics" title="removeBasics">removeBasics</a>
</td><td style="border-right: 0.5pt solid black; border-bottom: 0.5pt solid black; ">Option to remove all inference annotations after execution of the rule script.
</td><td style="border-bottom: 0.5pt solid black; ">Single Boolean</td></tr><tr><td style="border-right: 0.5pt solid black; border-bottom: 0.5pt solid black; ">
+ <a class="link" href="#ugr.tools.ruta.ae.basic.parameter.reindexOnly" title="reindexOnly">reindexOnly</a>
+ </td><td style="border-right: 0.5pt solid black; border-bottom: 0.5pt solid black; ">Option to select annotation types that should be reindex internally in ruta.
+ </td><td style="border-bottom: 0.5pt solid black; ">Multi String</td></tr><tr><td style="border-right: 0.5pt solid black; border-bottom: 0.5pt solid black; ">
<a class="link" href="#ugr.tools.ruta.ae.basic.parameter.strictImports" title="strictImports">strictImports</a>
</td><td style="border-right: 0.5pt solid black; border-bottom: 0.5pt solid black; ">Option to restrict short type names resolution to those in the declared typesystems.
</td><td style="border-bottom: 0.5pt solid black; ">Single Boolean</td></tr><tr><td style="border-right: 0.5pt solid black; border-bottom: 0.5pt solid black; ">
@@ -878,6 +890,16 @@ Document{-> EXEC(MyAnalysisEngine, {M
The default value is set to true.
</p>
</div>
+ <div class="section" title="reindexOnly"><div class="titlepage"><div><div><h5 class="title" id="ugr.tools.ruta.ae.basic.parameter.reindexOnly">reindexOnly</h5></div></div></div>
+
+ <p>
+ This parameter specifies the annotation types which should be reindex for ruta's internal annotations
+ All annotation types that changed since the last call of a ruta script need to be listed here.
+ The value of this parameter needs only be adapted for performance optimization in pipelines that
+ contains several ruta analysis engines.
+ Default value is uima.tcas.Annotation
+ </p>
+ </div>
<div class="section" title="strictImports"><div class="titlepage"><div><div><h5 class="title" id="ugr.tools.ruta.ae.basic.parameter.strictImports">strictImports</h5></div></div></div>
<p>
@@ -957,21 +979,21 @@ Document{-> EXEC(MyAnalysisEngine, {M
<p>
This parameter specifies the names of variables and is used in combination with the parameter
- varValues, which contains the values of the corresponding variables. The n-th entry of this
- string array specifies the variable of the n-th entry of the string array of the parameter
- varValues. If the variables is defined in the root of a script, then the name of the variable
- suffices. If the variable is defined in a BLOCK or imported script, then the the name must
- contain the namespaces of the blocks as a prefix, e.g., InnerBlock.varName or OtherScript.SomeBlock.varName.
+ varValues, which contains the values of the corresponding variables. The n-th entry of this
+ string array specifies the variable of the n-th entry of the string array of the parameter
+ varValues. If the variables is defined in the root of a script, then the name of the variable
+ suffices. If the variable is defined in a BLOCK or imported script, then the the name must
+ contain the namespaces of the blocks as a prefix, e.g., InnerBlock.varName or OtherScript.SomeBlock.varName.
</p>
</div>
<div class="section" title="varValues"><div class="titlepage"><div><div><h5 class="title" id="ugr.tools.ruta.ae.basic.parameter.varValues">varValues</h5></div></div></div>
<p>
This parameter specifies the values of variables as string values in an string array. It is
- used in combination with the parameter varNames, which contains the names of the corresponding
- variables. The n-th entry of this string array specifies the value of the n-th entry of the
- string array of the parameter varNames. Only value of the kinds string, boolean, int, double
- and float are allowed.
+ used in combination with the parameter varNames, which contains the names of the corresponding
+ variables. The n-th entry of this string array specifies the value of the n-th entry of the
+ string array of the parameter varNames. Only value of the kinds string, boolean, int, double
+ and float are allowed.
</p>
</div>
<div class="section" title="dictRemoveWS"><div class="titlepage"><div><div><h5 class="title" id="ugr.tools.ruta.ae.basic.parameter.dictRemoveWS">dictRemoveWS</h5></div></div></div>
@@ -1366,9 +1388,12 @@ Document{-> EXEC(MyAnalysisEngine, {M
</p><pre class="programlisting">Script -> PackageDeclaration? GlobalStatements Statements
PackageDeclaration -> "PACKAGE" DottedIdentifier ";"
GlobalStatments -> GlobalStatement*
-GlobalStatment -> ("SCRIPT" | "ENGINE" | "UIMAFIT")
+GlobalStatment -> ("SCRIPT" | "ENGINE")
DottedIdentifier2 ";"
- | ImportStatement
+ | UimafitImport | ImportStatement
+UimafitImport -> "UIMAFIT" DottedIdentifier2
+ ("(" DottedIdentifier2
+ (COMMA DottedIdentifier2)+ ")")?;
Statements -> Statement*
Statement -> Declaration | VariableDeclaration
| BlockDeclaration | SimpleStatement ";"</pre><p>
@@ -1417,6 +1442,7 @@ VariableDeclaration -> (("TYPE" Ident
("," Identifier)* ("=" NumberExpression)?)
| ("BOOLEAN" Identifier ("," Identifier)*
("=" BooleanExpression)?)
+ | ("ANNOTATION" Identifier ("=" AnnotationExpression)?)
| ("WORDLIST" Identifier ("=" WordListExpression)?)
| ("WORDTABLE" Identifier ("=" WordTableExpression)?)
| ("TYPELIST" Identifier ("=" TypeListExpression)?)
@@ -1426,6 +1452,8 @@ VariableDeclaration -> (("TYPE" Ident
Identifier ("=" NumberListExpression)?)
| ("BOOLEANLIST" Identifier
("=" BooleanListExpression)?))
+ | ("ANNOTATIONLIST" Identifier
+ ("=" AnnotationListExpression)?)
AnnotationType -> BasicAnnotationType | declaredAnnotationType
BasicAnnotationType -> ('COLON'| 'SW' | 'MARKUP' | 'PERIOD' | 'CW'| 'NUM'
| 'QUESTION' | 'SPECIAL' | 'CAP' | 'COMMA'
@@ -1434,7 +1462,10 @@ BasicAnnotationType -> ('COLON'| 'SW
| 'SPACE' | 'BREAK')
BlockDeclaration -> "BLOCK" "(" Identifier ")" RuleElementWithCA
"{" Statements "}"</pre><p>
-
+actionDeclaration -> "ACTION" Identifier "(" VarType Identifier ("," VarType Identifier)*")"
+ "=" Action ( "," Action)* ";"
+conditionDeclaration-> "CONDITION" Identifier "(" VarType Identifier ("," VarType Identifier)*")"
+ "=" Condition ( "," Condition)* ";"
Syntax of statements and rule elements:
</p><pre class="programlisting">SimpleStatement -> SimpleRule | RegExpRule | ConjunctRules
| DocumentActionRule
@@ -1446,7 +1477,8 @@ DocumentActionRule -> Actions ";"
GroupAssignment -> TypeExpression
| NumberEpxression "=" TypeExpression
RuleElements -> RuleElement+
-RuleElement -> RuleElementType | RuleElementLiteral
+RuleElement -> (Identifier ":")? "@"?
+ RuleElementType | RuleElementLiteral
| RuleElementComposed | RuleElementWildCard
RuleElementType -> MatchReference OptionalRuleElementPart
RuleElementWithCA -> MatchReference ("{" Conditions? Actions? "}")?
@@ -1480,7 +1512,7 @@ Actions -> "->" Act
<p>
It is also possible to use specific expression as implicit conditions or action additionally to the set of available conditions and actions.
</p><pre class="programlisting">Condition -> BooleanExpression | FeatureMatchExpression
-Action -> TypeExpression | FeatureAssignmentExpression
+Action -> TypeExpression | FeatureAssignmentExpression | VariableAssignmentExpression
</pre><p>
@@ -1751,7 +1783,7 @@ Matched: small Big Big Big small</pre><
Type declarations define new kinds of annotation types and
optionally their features.
</p>
- <div class="section" title="2.5.1.1. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1004">2.5.1.1.
+ <div class="section" title="2.5.1.1. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1013">2.5.1.1.
<span class="bold"><strong>Example:</strong></span>
</h4></div></div></div>
@@ -1837,7 +1869,7 @@ DECLARE ParentType NewType (SomeType fea
</p>
</li></ul></div><p>
</p>
- <div class="section" title="2.5.2.1. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1038">2.5.2.1.
+ <div class="section" title="2.5.2.1. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1047">2.5.2.1.
<span class="bold"><strong>Example:</strong></span>
</h4></div></div></div>
@@ -1877,7 +1909,7 @@ BOOLEANLIST newBooleanList;</pre><p>
</p>
</li></ul></div><p>
</p>
- <div class="section" title="2.5.3.1. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1051">2.5.3.1.
+ <div class="section" title="2.5.3.1. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1060">2.5.3.1.
<span class="bold"><strong>Example:</strong></span>
</h4></div></div></div>
@@ -1895,7 +1927,7 @@ WORDTABLE tableName = 'someTable.csv';</
is not necessary to import the Type System of the additional rule
script.
</p>
- <div class="section" title="2.5.4.1. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1059">2.5.4.1.
+ <div class="section" title="2.5.4.1. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1068">2.5.4.1.
<span class="bold"><strong>Example:</strong></span>
</h4></div></div></div>
@@ -1937,7 +1969,7 @@ Document{->CALL(AnotherScript)}; // &
</p>
</li></ul></div><p>
</p>
- <div class="section" title="2.5.5.1. Type System Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1075">2.5.5.1.
+ <div class="section" title="2.5.5.1. Type System Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1084">2.5.5.1.
<span class="bold"><strong>Type System Example:</strong></span>
</h4></div></div></div>
@@ -1970,7 +2002,7 @@ IMPORT PACKAGE * FROM my.package.Externa
</p>
</div>
- <div class="section" title="2.5.5.2. Analysis Engine Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1080">2.5.5.2.
+ <div class="section" title="2.5.5.2. Analysis Engine Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1089">2.5.5.2.
<span class="bold"><strong>Analysis Engine Example:</strong></span>
</h4></div></div></div>
@@ -2013,7 +2045,7 @@ Document{-> EXEC(AnotherEngine, {Some
<a class="xref" href="#ugr.tools.ruta.language.declarations.variable" title="2.5.2. Variables">Section 2.5.2, “Variables”</a>
).
</li></ol></div><p>
- </p><div class="section" title="Definition:"><div class="titlepage"><div><div><h5 class="title" id="d5e1099">
+ </p><div class="section" title="Definition:"><div class="titlepage"><div><div><h5 class="title" id="d5e1108">
<span class="bold"><strong>Definition:</strong></span>
</h5></div></div></div>
@@ -2021,7 +2053,7 @@ Document{-> EXEC(AnotherEngine, {Some
</p><pre class="programlisting">TypeExpression -> AnnotationType | TypeVariable</pre><p>
</p>
</div><p>
- </p><div class="section" title="Example:"><div class="titlepage"><div><div><h5 class="title" id="d5e1104">
+ </p><div class="section" title="Example:"><div class="titlepage"><div><div><h5 class="title" id="d5e1113">
<span class="bold"><strong>Example:</strong></span>
</h5></div></div></div>
@@ -2045,7 +2077,7 @@ Document{->ASSIGN(typeVar, Author)};<
a complete overview, have a look at the following syntax definition
of number expressions.
</p>
- <div class="section" title="2.6.2.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1112">2.6.2.1.
+ <div class="section" title="2.6.2.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1121">2.6.2.1.
<span class="bold"><strong>Definition:</strong></span>
</h4></div></div></div>
@@ -2075,7 +2107,7 @@ Digit -> ('0'..'9') <
<a class="xref" href="#ugr.tools.ruta.language.declarations.variable" title="2.5.2. Variables">Section 2.5.2, “Variables”</a>
.
</p>
- <div class="section" title="2.6.2.2. Examples:"><div class="titlepage"><div><div><h4 class="title" id="d5e1119">2.6.2.2.
+ <div class="section" title="2.6.2.2. Examples:"><div class="titlepage"><div><div><h4 class="title" id="d5e1128">2.6.2.2.
<span class="bold"><strong>Examples:</strong></span>
</h4></div></div></div>
@@ -2112,7 +2144,7 @@ Document{->ASSIGN(intVar1, 12 * intVa
</p>
</li></ol></div><p>
</p>
- <div class="section" title="2.6.3.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1135">2.6.3.1.
+ <div class="section" title="2.6.3.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1144">2.6.3.1.
<span class="bold"><strong>Definition:</strong></span>
</h4></div></div></div>
@@ -2122,7 +2154,7 @@ SimpleStringExpression -> StringLit
| StringVariable</pre><p>
</p>
</div>
- <div class="section" title="2.6.3.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1140">2.6.3.2.
+ <div class="section" title="2.6.3.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1149">2.6.3.2.
<span class="bold"><strong>Example:</strong></span>
</h4></div></div></div>
@@ -2143,7 +2175,7 @@ Document{->ASSIGN(strVar, "strLiteral
true or false. To get a complete overview, have a look at the
following syntax definition of boolean expressions.
</p>
- <div class="section" title="2.6.4.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1148">2.6.4.1.
+ <div class="section" title="2.6.4.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1157">2.6.4.1.
<span class="bold"><strong>Definition:</strong></span>
</h4></div></div></div>
@@ -2167,7 +2199,7 @@ BooleanLiteral -> "true" | "false
.
</p>
</div>
- <div class="section" title="2.6.4.2. Examples:"><div class="titlepage"><div><div><h4 class="title" id="d5e1155">2.6.4.2.
+ <div class="section" title="2.6.4.2. Examples:"><div class="titlepage"><div><div><h4 class="title" id="d5e1164">2.6.4.2.
<span class="bold"><strong>Examples:</strong></span>
</h4></div></div></div>
@@ -2233,7 +2265,7 @@ BooleanLiteral -> "true" | "false
<p>
List expression are a rather simple kind of expression.
</p>
- <div class="section" title="2.6.5.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1173">2.6.5.1.
+ <div class="section" title="2.6.5.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1182">2.6.5.1.
<span class="bold"><strong>Definition:</strong></span>
</h4></div></div></div>
@@ -2298,7 +2330,7 @@ FeatureAssignmentExpression -> Featur
type. If a list of types is passed, this has to be true for at least
one of them.
</p>
- <div class="section" title="2.7.1.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1191">2.7.1.1.
+ <div class="section" title="2.7.1.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1200">2.7.1.1.
<span class="bold"><strong>Definition:</strong></span>
</h4></div></div></div>
@@ -2306,7 +2338,7 @@ FeatureAssignmentExpression -> Featur
</p><pre class="programlisting">AFTER(Type|TypeListExpression)</pre><p>
</p>
</div>
- <div class="section" title="2.7.1.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1196">2.7.1.2.
+ <div class="section" title="2.7.1.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1205">2.7.1.2.
<span class="bold"><strong>Example:</strong></span>
</h4></div></div></div>
@@ -2326,7 +2358,7 @@ FeatureAssignmentExpression -> Featur
The AND condition is a composed condition and evaluates true, if
all contained conditions evaluate true.
</p>
- <div class="section" title="2.7.2.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1205">2.7.2.1.
+ <div class="section" title="2.7.2.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1214">2.7.2.1.
<span class="bold"><strong>Definition:</strong></span>
</h4></div></div></div>
@@ -2334,7 +2366,7 @@ FeatureAssignmentExpression -> Featur
</p><pre class="programlisting">AND(Condition1,...,ConditionN)</pre><p>
</p>
</div>
- <div class="section" title="2.7.2.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1210">2.7.2.2.
+ <div class="section" title="2.7.2.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1219">2.7.2.2.
<span class="bold"><strong>Example:</strong></span>
</h4></div></div></div>
@@ -2358,7 +2390,7 @@ FeatureAssignmentExpression -> Featur
type. If a list of types is passed, this has to be true for at least
one of them.
</p>
- <div class="section" title="2.7.3.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1219">2.7.3.1.
+ <div class="section" title="2.7.3.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1228">2.7.3.1.
<span class="bold"><strong>Definition:</strong></span>
</h4></div></div></div>
@@ -2366,7 +2398,7 @@ FeatureAssignmentExpression -> Featur
</p><pre class="programlisting">BEFORE(Type|TypeListExpression)</pre><p>
</p>
</div>
- <div class="section" title="2.7.3.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1224">2.7.3.2.
+ <div class="section" title="2.7.3.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1233">2.7.3.2.
<span class="bold"><strong>Example:</strong></span>
</h4></div></div></div>
@@ -2396,7 +2428,7 @@ FeatureAssignmentExpression -> Featur
occurrence of the
passed type.
</p>
- <div class="section" title="2.7.4.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1233">2.7.4.1.
+ <div class="section" title="2.7.4.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1242">2.7.4.1.
<span class="bold"><strong>Definition:</strong></span>
</h4></div></div></div>
@@ -2404,7 +2436,7 @@ FeatureAssignmentExpression -> Featur
</p><pre class="programlisting">CONTAINS(Type(,NumberExpression,NumberExpression(,BooleanExpression)?)?)</pre><p>
</p>
</div>
- <div class="section" title="2.7.4.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1238">2.7.4.2.
+ <div class="section" title="2.7.4.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1247">2.7.4.2.
<span class="bold"><strong>Example:</strong></span>
</h4></div></div></div>
@@ -2448,7 +2480,7 @@ FeatureAssignmentExpression -> Featur
the index of the matched annotation is within a passed interval. If
no interval is passed, the condition always evaluates true.
</p>
- <div class="section" title="2.7.5.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1254">2.7.5.1.
+ <div class="section" title="2.7.5.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1263">2.7.5.1.
<span class="bold"><strong>Definition:</strong></span>
</h4></div></div></div>
@@ -2456,7 +2488,7 @@ FeatureAssignmentExpression -> Featur
</p><pre class="programlisting">CONTEXTCOUNT(Type(,NumberExpression,NumberExpression)?(,Variable)?)</pre><p>
</p>
</div>
- <div class="section" title="2.7.5.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1259">2.7.5.2.
+ <div class="section" title="2.7.5.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1268">2.7.5.2.
<span class="bold"><strong>Example:</strong></span>
</h4></div></div></div>
@@ -2491,7 +2523,7 @@ FeatureAssignmentExpression -> Featur
amount is within a specified interval. If no interval is passed, the
condition always evaluates true.
</p>
- <div class="section" title="2.7.6.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1268">2.7.6.1.
+ <div class="section" title="2.7.6.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1277">2.7.6.1.
<span class="bold"><strong>Definition:</strong></span>
</h4></div></div></div>
@@ -2503,7 +2535,7 @@ FeatureAssignmentExpression -> Featur
(,NumberExpression,NumberExpression)?(,NumberVariable)?)</pre><p>
</p>
</div>
- <div class="section" title="2.7.6.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1275">2.7.6.2.
+ <div class="section" title="2.7.6.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1284">2.7.6.2.
<span class="bold"><strong>Example:</strong></span>
</h4></div></div></div>
@@ -2539,7 +2571,7 @@ FeatureAssignmentExpression -> Featur
specified interval. If no interval is passed, the condition always
evaluates true.
</p>
- <div class="section" title="2.7.7.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1287">2.7.7.1.
+ <div class="section" title="2.7.7.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1296">2.7.7.1.
<span class="bold"><strong>Definition:</strong></span>
</h4></div></div></div>
@@ -2547,7 +2579,7 @@ FeatureAssignmentExpression -> Featur
</p><pre class="programlisting">CURRENTCOUNT(Type(,NumberExpression,NumberExpression)?(,Variable)?)</pre><p>
</p>
</div>
- <div class="section" title="2.7.7.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1292">2.7.7.2.
+ <div class="section" title="2.7.7.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1301">2.7.7.2.
<span class="bold"><strong>Example:</strong></span>
</h4></div></div></div>
@@ -2570,7 +2602,7 @@ FeatureAssignmentExpression -> Featur
annotation. If a list of types is passed, this has to be true for at
least one of them.
</p>
- <div class="section" title="2.7.8.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1301">2.7.8.1.
+ <div class="section" title="2.7.8.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1310">2.7.8.1.
<span class="bold"><strong>Definition:</strong></span>
</h4></div></div></div>
@@ -2578,7 +2610,7 @@ FeatureAssignmentExpression -> Featur
</p><pre class="programlisting">ENDSWITH(Type|TypeListExpression) </pre><p>
</p>
</div>
- <div class="section" title="2.7.8.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1306">2.7.8.2.
+ <div class="section" title="2.7.8.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1315">2.7.8.2.
<span class="bold"><strong>Example:</strong></span>
</h4></div></div></div>
@@ -2598,7 +2630,7 @@ FeatureAssignmentExpression -> Featur
The FEATURE condition compares a feature of the matched
annotation with the second argument.
</p>
- <div class="section" title="2.7.9.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1315">2.7.9.1.
+ <div class="section" title="2.7.9.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1324">2.7.9.1.
<span class="bold"><strong>Definition:</strong></span>
</h4></div></div></div>
@@ -2606,7 +2638,7 @@ FeatureAssignmentExpression -> Featur
</p><pre class="programlisting">FEATURE(StringExpression,Expression) </pre><p>
</p>
</div>
- <div class="section" title="2.7.9.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1320">2.7.9.2.
+ <div class="section" title="2.7.9.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1329">2.7.9.2.
<span class="bold"><strong>Example:</strong></span>
</h4></div></div></div>
@@ -2627,7 +2659,7 @@ FeatureAssignmentExpression -> Featur
The IF condition evaluates true, if the contained boolean
expression evaluates true.
</p>
- <div class="section" title="2.7.10.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1329">2.7.10.1.
+ <div class="section" title="2.7.10.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1338">2.7.10.1.
<span class="bold"><strong>Definition:</strong></span>
</h4></div></div></div>
@@ -2635,7 +2667,7 @@ FeatureAssignmentExpression -> Featur
</p><pre class="programlisting">IF(BooleanExpression) </pre><p>
</p>
</div>
- <div class="section" title="2.7.10.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1334">2.7.10.2.
+ <div class="section" title="2.7.10.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1343">2.7.10.2.
<span class="bold"><strong>Example:</strong></span>
</h4></div></div></div>
@@ -2657,7 +2689,7 @@ FeatureAssignmentExpression -> Featur
in a given word or string list. If an optional agrument is given, then
the value of the argument is used instead of the covered text of the matched annotation
</p>
- <div class="section" title="2.7.11.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1343">2.7.11.1.
+ <div class="section" title="2.7.11.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1352">2.7.11.1.
<span class="bold"><strong>Definition:</strong></span>
</h4></div></div></div>
@@ -2668,7 +2700,7 @@ FeatureAssignmentExpression -> Featur
</p><pre class="programlisting">INLIST(StringList(,StringExpression)?) </pre><p>
</p>
</div>
- <div class="section" title="2.7.11.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1350">2.7.11.2.
+ <div class="section" title="2.7.11.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1359">2.7.11.2.
<span class="bold"><strong>Example:</strong></span>
</h4></div></div></div>
@@ -2700,7 +2732,7 @@ FeatureAssignmentExpression -> Featur
evaluates true,
if at least one of them fulfills the former condition.
</p>
- <div class="section" title="2.7.12.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1362">2.7.12.1.
+ <div class="section" title="2.7.12.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1371">2.7.12.1.
<span class="bold"><strong>Definition:</strong></span>
</h4></div></div></div>
@@ -2708,7 +2740,7 @@ FeatureAssignmentExpression -> Featur
</p><pre class="programlisting">IS(Type|TypeListExpression) </pre><p>
</p>
</div>
- <div class="section" title="2.7.12.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1367">2.7.12.2.
+ <div class="section" title="2.7.12.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1376">2.7.12.2.
<span class="bold"><strong>Example:</strong></span>
</h4></div></div></div>
@@ -2728,7 +2760,7 @@ FeatureAssignmentExpression -> Featur
The LAST condition evaluates true, if the type of the last token
within the window of the matched annotation is of the given type.
</p>
- <div class="section" title="2.7.13.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1376">2.7.13.1.
+ <div class="section" title="2.7.13.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1385">2.7.13.1.
<span class="bold"><strong>Definition:</strong></span>
</h4></div></div></div>
@@ -2736,7 +2768,7 @@ FeatureAssignmentExpression -> Featur
</p><pre class="programlisting">LAST(TypeExpression) </pre><p>
</p>
</div>
- <div class="section" title="2.7.13.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1381">2.7.13.2.
+ <div class="section" title="2.7.13.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1390">2.7.13.2.
<span class="bold"><strong>Example:</strong></span>
</h4></div></div></div>
@@ -2757,7 +2789,7 @@ FeatureAssignmentExpression -> Featur
the number of containing conditions evaluating true is within a given
interval.
</p>
- <div class="section" title="2.7.14.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1390">2.7.14.1.
+ <div class="section" title="2.7.14.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1399">2.7.14.1.
<span class="bold"><strong>Definition:</strong></span>
</h4></div></div></div>
@@ -2765,7 +2797,7 @@ FeatureAssignmentExpression -> Featur
</p><pre class="programlisting">MOFN(NumberExpression,NumberExpression,Condition1,...,ConditionN) </pre><p>
</p>
</div>
- <div class="section" title="2.7.14.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1395">2.7.14.2.
+ <div class="section" title="2.7.14.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1404">2.7.14.2.
<span class="bold"><strong>Example:</strong></span>
</h4></div></div></div>
@@ -2792,7 +2824,7 @@ FeatureAssignmentExpression -> Featur
parameter can be set to true to get the condition being evaluated on
a filtered index.
</p>
- <div class="section" title="2.7.15.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1404">2.7.15.1.
+ <div class="section" title="2.7.15.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1413">2.7.15.1.
<span class="bold"><strong>Definition:</strong></span>
</h4></div></div></div>
@@ -2801,7 +2833,7 @@ FeatureAssignmentExpression -> Featur
(,BooleanExpression(,BooleanExpression)?)?) </pre><p>
</p>
</div>
- <div class="section" title="2.7.15.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1409">2.7.15.2.
+ <div class="section" title="2.7.15.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1418">2.7.15.2.
<span class="bold"><strong>Example:</strong></span>
</h4></div></div></div>
@@ -2821,7 +2853,7 @@ FeatureAssignmentExpression -> Featur
The NOT condition negates the result of its contained
condition.
</p>
- <div class="section" title="2.7.16.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1418">2.7.16.1.
+ <div class="section" title="2.7.16.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1427">2.7.16.1.
<span class="bold"><strong>Definition:</strong></span>
</h4></div></div></div>
@@ -2829,7 +2861,7 @@ FeatureAssignmentExpression -> Featur
</p><pre class="programlisting">"-"Condition</pre><p>
</p>
</div>
- <div class="section" title="2.7.16.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1423">2.7.16.2.
+ <div class="section" title="2.7.16.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1432">2.7.16.2.
<span class="bold"><strong>Example:</strong></span>
</h4></div></div></div>
@@ -2849,7 +2881,7 @@ FeatureAssignmentExpression -> Featur
The OR Condition is a composed condition and evaluates true, if
at least one contained condition is evaluated true.
</p>
- <div class="section" title="2.7.17.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1432">2.7.17.1.
+ <div class="section" title="2.7.17.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1441">2.7.17.1.
<span class="bold"><strong>Definition:</strong></span>
</h4></div></div></div>
@@ -2857,7 +2889,7 @@ FeatureAssignmentExpression -> Featur
</p><pre class="programlisting">OR(Condition1,...,ConditionN)</pre><p>
</p>
</div>
- <div class="section" title="2.7.17.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1437">2.7.17.2.
+ <div class="section" title="2.7.17.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1446">2.7.17.2.
<span class="bold"><strong>Example:</strong></span>
</h4></div></div></div>
@@ -2881,7 +2913,7 @@ FeatureAssignmentExpression -> Featur
variable's type. If this is possible, the parsed value is
additionally assigned to the passed variable.
</p>
- <div class="section" title="2.7.18.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1446">2.7.18.1.
+ <div class="section" title="2.7.18.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1455">2.7.18.1.
<span class="bold"><strong>Definition:</strong></span>
</h4></div></div></div>
@@ -2889,7 +2921,7 @@ FeatureAssignmentExpression -> Featur
</p><pre class="programlisting">PARSE(variable(, stringExpression)?)</pre><p>
</p>
</div>
- <div class="section" title="2.7.18.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1451">2.7.18.2.
+ <div class="section" title="2.7.18.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1460">2.7.18.2.
<span class="bold"><strong>Example:</strong></span>
</h4></div></div></div>
@@ -2914,7 +2946,7 @@ FeatureAssignmentExpression -> Featur
the former described condition for a single type is fulfilled for at
least one of the types in the list.
</p>
- <div class="section" title="2.7.19.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1460">2.7.19.1.
+ <div class="section" title="2.7.19.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1469">2.7.19.1.
<span class="bold"><strong>Definition:</strong></span>
</h4></div></div></div>
@@ -2922,7 +2954,7 @@ FeatureAssignmentExpression -> Featur
</p><pre class="programlisting">PARTOF(Type|TypeListExpression)</pre><p>
</p>
</div>
- <div class="section" title="2.7.19.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1465">2.7.19.2.
+ <div class="section" title="2.7.19.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1474">2.7.19.2.
<span class="bold"><strong>Example:</strong></span>
</h4></div></div></div>
@@ -2946,7 +2978,7 @@ FeatureAssignmentExpression -> Featur
evaluates true if the former described condition is fulfilled for at
least one of the types in the list.
</p>
- <div class="section" title="2.7.20.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1474">2.7.20.1.
+ <div class="section" title="2.7.20.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1483">2.7.20.1.
<span class="bold"><strong>Definition:</strong></span>
</h4></div></div></div>
@@ -2954,7 +2986,7 @@ FeatureAssignmentExpression -> Featur
</p><pre class="programlisting">PARTOFNEQ(Type|TypeListExpression)</pre><p>
</p>
</div>
- <div class="section" title="2.7.20.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1479">2.7.20.2.
+ <div class="section" title="2.7.20.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1488">2.7.20.2.
<span class="bold"><strong>Example:</strong></span>
</h4></div></div></div>
@@ -2971,12 +3003,12 @@ FeatureAssignmentExpression -> Featur
<p>
The POSITION condition is fulfilled, if the matched type is the
- k-th occurence of this type within the window of an annotation of the
+ k-th occurrence of this type within the window of an annotation of the
passed type, whereby k is defined by the value of the passed
NumberExpression. If the additional boolean paramter is set to false,
- then k counts the occurences of of the minimal annotations.
+ then k counts the occurrences of of the minimal annotations.
</p>
- <div class="section" title="2.7.21.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1489">2.7.21.1.
+ <div class="section" title="2.7.21.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1498">2.7.21.1.
<span class="bold"><strong>Definition:</strong></span>
</h4></div></div></div>
@@ -2984,7 +3016,7 @@ FeatureAssignmentExpression -> Featur
</p><pre class="programlisting">POSITION(Type,NumberExpression(,BooleanExpression)?)</pre><p>
</p>
</div>
- <div class="section" title="2.7.21.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1494">2.7.21.2.
+ <div class="section" title="2.7.21.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1503">2.7.21.2.
<span class="bold"><strong>Example:</strong></span>
</h4></div></div></div>
@@ -3025,7 +3057,7 @@ FeatureAssignmentExpression -> Featur
initialized with the flags DOTALL and MULTILINE, and if the optional parameter is set to true,
then additionally with the flags CASE_INSENSITIVE and UNICODE_CASE.
</p>
- <div class="section" title="2.7.22.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1507">2.7.22.1.
+ <div class="section" title="2.7.22.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1516">2.7.22.1.
<span class="bold"><strong>Definition:</strong></span>
</h4></div></div></div>
@@ -3033,7 +3065,7 @@ FeatureAssignmentExpression -> Featur
</p><pre class="programlisting">REGEXP((StringVariable,)? StringExpression(,BooleanExpression)?)</pre><p>
</p>
</div>
- <div class="section" title="2.7.22.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1512">2.7.22.2.
+ <div class="section" title="2.7.22.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1521">2.7.22.2.
<span class="bold"><strong>Example:</strong></span>
</h4></div></div></div>
@@ -3058,7 +3090,7 @@ FeatureAssignmentExpression -> Featur
given interval. Optionally, the score can be stored in a
variable.
</p>
- <div class="section" title="2.7.23.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1521">2.7.23.1.
+ <div class="section" title="2.7.23.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1530">2.7.23.1.
<span class="bold"><strong>Definition:</strong></span>
</h4></div></div></div>
@@ -3066,7 +3098,7 @@ FeatureAssignmentExpression -> Featur
</p><pre class="programlisting">SCORE(NumberExpression,NumberExpression(,Variable)?)</pre><p>
</p>
</div>
- <div class="section" title="2.7.23.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1526">2.7.23.2.
+ <div class="section" title="2.7.23.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1535">2.7.23.2.
<span class="bold"><strong>Example:</strong></span>
</h4></div></div></div>
@@ -3089,7 +3121,7 @@ FeatureAssignmentExpression -> Featur
is within the interval. The counted number can be stored in an
optionally passed numeral variable.
</p>
- <div class="section" title="2.7.24.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1535">2.7.24.1.
+ <div class="section" title="2.7.24.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1544">2.7.24.1.
<span class="bold"><strong>Definition:</strong></span>
</h4></div></div></div>
@@ -3097,7 +3129,7 @@ FeatureAssignmentExpression -> Featur
</p><pre class="programlisting">SIZE(ListExpression(,NumberExpression,NumberExpression)?(,Variable)?)</pre><p>
</p>
</div>
- <div class="section" title="2.7.24.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1540">2.7.24.2.
+ <div class="section" title="2.7.24.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1549">2.7.24.2.
<span class="bold"><strong>Example:</strong></span>
</h4></div></div></div>
@@ -3120,7 +3152,7 @@ FeatureAssignmentExpression -> Featur
annotation. If a type list is given, the condition evaluates true, if
the former is true for at least one of the given types in the list.
</p>
- <div class="section" title="2.7.25.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1550">2.7.25.1.
+ <div class="section" title="2.7.25.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1559">2.7.25.1.
<span class="bold"><strong>Definition:</strong></span>
</h4></div></div></div>
@@ -3128,7 +3160,7 @@ FeatureAssignmentExpression -> Featur
</p><pre class="programlisting">STARTSWITH(Type|TypeListExpression)</pre><p>
</p>
</div>
[... 1136 lines stripped ...]