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 2019/02/24 21:29:51 UTC
svn commit: r1854282 [4/5] - in /uima/site/trunk/uima-website: docs/
docs/d/ruta-2.7.0/ docs/d/ruta-2.7.0/css/ docs/d/ruta-2.7.0/images/
docs/d/ruta-2.7.0/images/tools/ docs/d/ruta-2.7.0/images/tools/ruta/
docs/d/ruta-2.7.0/images/tools/ruta/language/ ...
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=1854282&r1=1854281&r2=1854282&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 Sun Feb 24 21:29:51 2019
@@ -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.6.1</p></div><div><p class="copyright">Copyright © 2011, 2017 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.7.0</p></div><div><p class="copyright">Copyright © 2011, 2019 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,8 +35,8 @@
the trademark or service mark.
</p>
- </div></div><div><p class="pubdate">July, 2017</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.too
ls.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 class
="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 class=
"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.parto
f">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.action
s">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></spa
n></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="s
ection"><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="sectio
n"><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. SETFEATU
RE</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. SPLIT</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.wildcard">2.10. Wildcard #</a></span></dt><d
t><span class="section"><a href="#ugr.tools.ruta.language.labels">2.11. Label expressions</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.blocks">2.12. Blocks</a></span></dt><dd><dl><dt><span class="section"><a href="#ugr.tools.ruta.language.blocks.block">2.12.1. BLOCK</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.blocks.foreach">2.12.2. FOREACH</a></span></dt></dl></dd><dt><span class="section"><a href="#ugr.tools.ruta.language.inlined">2.13. Inlined rules</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.macro">2.14. Macros for conditions and actions</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.score">2.15. Heuristic extraction using scoring rules</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.modification">2.16. Modification</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.external_resources">2.17. External resources<
/a></span></dt><dd><dl><dt><span class="section"><a href="#d5e2507">2.17.1. WORDLISTs</a></span></dt><dt><span class="section"><a href="#d5e2529">2.17.2. WORDTABLEs</a></span></dt></dl></dd><dt><span class="section"><a href="#ugr.tools.ruta.language.regexprule">2.18. Simple Rules based on Regular Expressions</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.extensions">2.19. Language Extensions</a></span></dt><dd><dl><dt><span class="section"><a href="#ugr.tools.ruta.language.extensions.core-ext">2.19.1. Provided Extensions</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.extensions.new">2.19.2. 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.projects">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.workben
ch.explain_perspective.applied_rules">3.5.1. Applied Rules</a></span></dt><dt><span class="section"><a href="#section.ugr.tools.ruta.workbench.explain_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.workbenc
h.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. CDE 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. I
ntegrating 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="#d5e3433">4.3.1. generate goal</a></span></dt><dt><span class="section"><a href="#d5e3438">4.3.2. twl goal</a></span></dt><dt><span class="section"><a href="#d5e3442">4.3.3. mtwl goal</a></span></dt></dl></dd><dt><span class="section"><a href="#ugr.tools.ruta.archetype">4.4. UIMA Ruta Maven Archetype</a></span></dt><dt><span class="section"><a href="#section.tools.ruta.workbench.textruler.example">4.5. Induce rules with the TextRuler framework</a></span></dt><dt><span class="section"><a href="#section.tools.ruta.howto.html">4.6. HTML annotations in plain text</a></span></dt><dt><span class="section"><a href="#section.tools.ruta.howto.sorter">4.7. Sorting files with UIMA Ruta</a></span></dt><dt><span class="section"><a href="#section.tools.ruta.howto.xml">4.8. Converting XML documents with UIMA Ruta</a></span></dt
></dl></dd></dl></div>
+ </div></div><div><p class="pubdate">February, 2019</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.synt
ax">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. Componen
ts</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 c
lass="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 cl
ass="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.p
artof">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.ac
tions">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 clas
s="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="se
ction"><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. SETF
EATURE</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. SPLIT</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.wildcard">2.10. Wildcard #</a></span></d
t><dt><span class="section"><a href="#ugr.tools.ruta.language.optional">2.11. Optional match _</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.labels">2.12. Label expressions</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.blocks">2.13. Blocks</a></span></dt><dd><dl><dt><span class="section"><a href="#ugr.tools.ruta.language.blocks.block">2.13.1. BLOCK</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.blocks.foreach">2.13.2. FOREACH</a></span></dt></dl></dd><dt><span class="section"><a href="#ugr.tools.ruta.language.inlined">2.14. Inlined rules</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.macro">2.15. Macros for conditions and actions</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.score">2.16. Heuristic extraction using scoring rules</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.modification">2.17. Modification</a></spa
n></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.external_resources">2.18. External resources</a></span></dt><dd><dl><dt><span class="section"><a href="#d5e2569">2.18.1. WORDLISTs</a></span></dt><dt><span class="section"><a href="#d5e2591">2.18.2. WORDTABLEs</a></span></dt></dl></dd><dt><span class="section"><a href="#ugr.tools.ruta.language.regexprule">2.19. Simple Rules based on Regular Expressions</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.extensions">2.20. Language Extensions</a></span></dt><dd><dl><dt><span class="section"><a href="#ugr.tools.ruta.language.extensions.core-ext">2.20.1. Provided Extensions</a></span></dt><dt><span class="section"><a href="#ugr.tools.ruta.language.extensions.new">2.20.2. 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.tool
s.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.projects">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 Ru
ta 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.explain_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.statis
tics">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. CDE 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 Ana
lysis 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="#d5e3495">4.3.1. generate goal</a></span></dt><dt><span class="section"><a href="#d5e3500">4.3.2. twl goal</a></span></dt><dt><span class="section"><a href="#d5e3504">4.3.3. mtwl goal</a></span></dt></dl></dd><dt><span class="section"><a href="#ugr.tools.ruta.archetype">4.4. UIMA Ruta Maven Archetype</a></span></dt><dt><span class="section"><a href="#section.tools.ruta.workbench.textruler.example">4.5. Induce rules with the TextRuler framework</a></span></dt><dt><span class="section"><a href="#section.tools.ruta.howto.html">4.6. HTML annotations in plain text</a></span></dt><dt><span class="section"><a href="#section.tools.ruta.howto.sorter">4.7. Sorting files with UIMA Ruta</a></span></dt><dt><span class="section"><a href="#section.tools.ruta.howto.xml">4.8. Converting XML documents with UIMA Ruta</a></span></dt
></dl></dd></dl></div>
@@ -273,7 +273,7 @@ Document{-> MARKFAST(Animal, AnimalsL
<p>
- There is a <span class="quote">“<span class="quote">wild card</span>”</span> rule element, which can be used to skip some text or annotations until the next rule element is able to match.
+ There is a <span class="quote">“<span class="quote">wild card</span>”</span> (<span class="quote">“<span class="quote">#</span>”</span>) rule element, which can be used to skip some text or annotations until the next rule element is able to match.
</p>
<pre class="programlisting">DECLARE Sentence;
@@ -281,7 +281,24 @@ PERIOD #{-> MARK(Sentence)} PERIOD;</
<p>
This rule annotates everything between two <span class="quote">“<span class="quote">PERIOD</span>”</span> annotations with the type <span class="quote">“<span class="quote">Sentence</span>”</span>. Please note that the resulting
- annotations is automatically trimmed using the current filtering settings.
+ annotations is automatically trimmed using the current filtering settings. Conditions at wild card rule elements should by avoided and only be used
+ by advanced users.
+ </p>
+
+ <p>
+ Another special rule element is called <span class="quote">“<span class="quote">optional</span>”</span> (<span class="quote">“<span class="quote">_</span>”</span>). Sometimes, an annotation should be created on a
+ text position if it is not followed by an annotation of a specific property. In contrast to normal rule elements with optional quantifier,
+ the optional rule element does not need to match at all.
+ </p>
+
+ <pre class="programlisting">W ANY{-PARTOF(NUM)};
+W _{-PARTOF(NUM)};</pre>
+
+ <p>
+ The two rules in this example specify the same pattern: A word that is not followed by a number. The difference between the rules
+ shows itself at the border of the matching window, e.g., at the end of the document. If the document contains only a single word,
+ the first rule will not match successfully because the second rule element already fails at its matching condition. The second rule, however,
+ will successfully match due to the optional rule element.
</p>
<p>
@@ -432,21 +449,31 @@ Entity{-> MentionedAfter, MentionedAf
</p>
<p>
- Expressions for annoations can be extended by a feature match and also conditions. This does also apply for type expressions
- that represent annoations. This functionality is illustrated with a simple example:
+ Expressions for annotations can be extended by a feature match and also conditions. This does also apply for type expressions
+ that represent annotations. This functionality is illustrated with a simple example:
</p>
<pre class="programlisting">Sentence{-> CREATE(EmplRelation, "employeeRef" =
-Employee.ct=="Peter"{ENDSWITH(Sentence)})};</pre>
+ Employee.ct=="Peter"{ENDSWITH(Sentence)})};</pre>
<p>
- Here, an annotation of the type <code class="code">EmplRelation</code> ios created for each sentence.
+ Here, an annotation of the type <code class="code">EmplRelation</code> is created for each sentence.
The feature <code class="code">employeeRef</code> is filled with one <code class="code">Employee</code> annotation.
This annotation is specified by its type <code class="code">Employee</code>. The first annotation
- of this type within the matched sentence, which coveres the text <span class="quote">“<span class="quote">Peter</span>”</span> and also
+ of this type within the matched sentence, which covers the text <span class="quote">“<span class="quote">Peter</span>”</span> and also
ends with a <code class="code">Sentence</code> annotation, is selected.
</p>
<p>
+ Sometimes, an annotation which was just created by an action should be assigned to a feature.
+ This can be achieved by referring to the annotation given its type like it was shown in the
+ first example with <span class="quote">“<span class="quote">EmplRelation</span>”</span>. However, this can cause problems in situations, e.g. where
+ several annotation of a type are present at a specific span. Local variables using labels can also be used directly at actions,
+ which create or modify actions. The action will assign the new annotation the the label variable,
+ which can then be utilized by following actions as shown in the following example:
+ </p>
+ <pre class="programlisting">W.ct=="Peter"{-> e:Employee, CREATE(EmplRelation, "employeeRef" = e)};</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>
@@ -578,8 +605,16 @@ Sentence{}->{
<pre class="programlisting">DECLARE SentenceWithNPNP;
Sentence{-> SentenceWithNPNP}<-{
NP NP;
-};
-</pre>
+};</pre>
+
+ <p>
+ A rule element may be extended with several inlined rule block as condition or action. If there a more than one inlined rule blocks as condition,
+ each needs to contain at least one rule that was successfully applied. In the following example, the rule will one match if the sentence contains
+ a number followed by a another number and a period followed by a comma, independently from their location within the sentence:
+ </p>
+
+ <pre class="programlisting">Sentence<-{NUM NUM;}<-{PERIOD COMMA;};</pre>
+
<p>
Let us take a closer look on what exactly the UIMA Ruta rules match. The following rule matches on a word followed by another word:
</p>
@@ -640,7 +675,7 @@ Document{-> EXEC(Modifier)};
The first rule deletes all text covered by annotations of the type <span class="quote">“<span class="quote">Date</span>”</span>. The second rule replaces the text of all annotations of the type <span class="quote">“<span class="quote">MoneyAmount</span>”</span>
with the string <span class="quote">“<span class="quote"><MoneyAmount/></span>”</span>. The third rule remembers to set the background color of text in Headline annotation to green. The last rule
finally performs all of these changes in an additional view called <span class="quote">“<span class="quote">modified</span>”</span>, which is specified in the configuration parameters of the analysis engine.
- <a class="xref" href="#ugr.tools.ruta.ae.modifier" title="1.5.4. Modifier">Section 1.5.4, “Modifier”</a> and <a class="xref" href="#ugr.tools.ruta.language.modification" title="2.16. Modification">Section 2.16, “Modification”</a> provide a more detailed description.
+ <a class="xref" href="#ugr.tools.ruta.ae.modifier" title="1.5.4. Modifier">Section 1.5.4, “Modifier”</a> and <a class="xref" href="#ugr.tools.ruta.language.modification" title="2.17. Modification">Section 2.17, “Modification”</a> provide a more detailed description.
</p>
<p>
@@ -704,6 +739,9 @@ Document{-> EXEC(MyAnalysisEngine, {M
<a class="link" href="#ugr.tools.ruta.ae.basic.parameter.rules" title="rules">rules</a>
</td><td style="border-right: 0.5pt solid black; border-bottom: 0.5pt solid black; ">Script (list of rules) to be applied.
</td><td style="border-bottom: 0.5pt solid black; ">Single 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.rules" title="rules">rulesScriptName</a>
+ </td><td style="border-right: 0.5pt solid black; border-bottom: 0.5pt solid black; ">This parameter specifies the name of the non-existing script if the parameter 'rules' is used.
+ </td><td style="border-bottom: 0.5pt solid black; ">Single 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.scriptEncoding" title="scriptEncoding">scriptEncoding</a>
</td><td style="border-right: 0.5pt solid black; border-bottom: 0.5pt solid black; ">Encoding of all UIMA Ruta script files.</td><td style="border-bottom: 0.5pt solid black; ">Single 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.scriptPaths" title="scriptPaths">scriptPaths</a>
@@ -795,10 +833,22 @@ Document{-> EXEC(MyAnalysisEngine, {M
</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.varValues" title="varValues">varValues</a>
</td><td style="border-right: 0.5pt solid black; border-bottom: 0.5pt solid black; ">String array with values of variables. Is used in combination with varNames.
- </td><td style="border-bottom: 0.5pt solid black; ">Multi String</td></tr><tr><td style="border-right: 0.5pt solid black; ">
+ </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.dictRemoveWS" title="dictRemoveWS">dictRemoveWS</a>
- </td><td style="border-right: 0.5pt solid black; ">Remove whitespaces when loading dictionaries.
- </td><td style="">Single Boolean</td></tr></tbody></table>
+ </td><td style="border-right: 0.5pt solid black; border-bottom: 0.5pt solid black; ">Remove whitespaces when loading dictionaries.
+ </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.csvSeparator" title="csvSeparator">csvSeparator</a>
+ </td><td style="border-right: 0.5pt solid black; border-bottom: 0.5pt solid black; ">String/token to be used to split columns in CSV tables.
+ </td><td style="border-bottom: 0.5pt solid black; ">Single 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.inferenceVisitors" title="inferenceVisitors">inferenceVisitors</a>
+ </td><td style="border-right: 0.5pt solid black; border-bottom: 0.5pt solid black; ">List of factory classes for additional inference visitors.
+ </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.maxRuleMatches" title="maxRuleMatches">maxRuleMatches</a>
+ </td><td style="border-right: 0.5pt solid black; border-bottom: 0.5pt solid black; ">Maximum amount of allowed matches of a single rule.
+ </td><td style="border-bottom: 0.5pt solid black; ">Single Integer</td></tr><tr><td style="border-right: 0.5pt solid black; ">
+ <a class="link" href="#ugr.tools.ruta.ae.basic.parameter.maxRuleMatches" title="maxRuleMatches">maxRuleElementMatches</a>
+ </td><td style="border-right: 0.5pt solid black; ">Maximum amount of allowed matches of a single rule element.
+ </td><td style="">Single Integer</td></tr></tbody></table>
</div></div><p><br class="table-break">
</p>
<div class="section" title="mainScript"><div class="titlepage"><div><div><h5 class="title" id="ugr.tools.ruta.ae.basic.parameter.mainScript">mainScript</h5></div></div></div>
@@ -820,6 +870,14 @@ Document{-> EXEC(MyAnalysisEngine, {M
If set, it replaces the content of file specified by the <a class="link" href="#ugr.tools.ruta.ae.basic.parameter.mainScript" title="mainScript">mainScript</a> parameter.
</p>
</div>
+ <div class="section" title="rulesScriptName"><div class="titlepage"><div><div><h5 class="title" id="ugr.tools.ruta.ae.basic.parameter.rulesScriptName">rulesScriptName</h5></div></div></div>
+
+ <p>
+ This parameter specifies the name of the non-existing script if the <a class="link" href="#ugr.tools.ruta.ae.basic.parameter.rules" title="rules">rules</a> parameter is used.
+ The default value is 'Anonymous'.
+ </p>
+ </div>
+
<div class="section" title="scriptEncoding"><div class="titlepage"><div><div><h5 class="title" id="ugr.tools.ruta.ae.basic.parameter.scriptEncoding">scriptEncoding</h5></div></div></div>
<p>
@@ -921,7 +979,7 @@ Document{-> EXEC(MyAnalysisEngine, {M
<p>
This parameter specifies whether the inference annotations created by the analysis engine should be removed after processing the CAS.
- The default value is set to true.
+ The default value is set to false.
</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>
@@ -1076,6 +1134,33 @@ Document{-> EXEC(MyAnalysisEngine, {M
If this parameter is set to true, then whitespaces are removed when dictionaries are loaded.
</p>
</div>
+ <div class="section" title="csvSeparator"><div class="titlepage"><div><div><h5 class="title" id="ugr.tools.ruta.ae.basic.parameter.csvSeparator">csvSeparator</h5></div></div></div>
+
+ <p>
+ If this parameter is set to any String value then this String/token is used to split columns in CSV tables.
+ The default is set to ';'.
+ </p>
+ </div>
+ <div class="section" title="inferenceVisitors"><div class="titlepage"><div><div><h5 class="title" id="ugr.tools.ruta.ae.basic.parameter.inferenceVisitors">inferenceVisitors</h5></div></div></div>
+
+ <p>
+ This parameter specifies optional class names implementing the interface
+ <code class="code">org.apache.uima.ruta.visitor.RutaInferenceVisitor</code>, which will be notified during
+ applying the rules.
+ </p>
+ </div>
+ <div class="section" title="maxRuleMatches"><div class="titlepage"><div><div><h5 class="title" id="ugr.tools.ruta.ae.basic.parameter.maxRuleMatches">maxRuleMatches</h5></div></div></div>
+
+ <p>
+ Maximum amount of allowed matches of a single rule.
+ </p>
+ </div>
+ <div class="section" title="maxRuleElementMatches"><div class="titlepage"><div><div><h5 class="title" id="ugr.tools.ruta.ae.basic.parameter.maxRuleElementMatches">maxRuleElementMatches</h5></div></div></div>
+
+ <p>
+ Maximum amount of allowed matches of a single rule element.
+ </p>
+ </div>
</div>
</div>
<div class="section" title="1.5.2. Annotation Writer"><div class="titlepage"><div><div><h3 class="title" id="ugr.tools.ruta.ae.annotationwriter">1.5.2. Annotation Writer</h3></div></div></div>
@@ -1558,10 +1643,12 @@ RuleElements -> RuleElement
RuleElement -> (Identifier ":")? "@"?
RuleElementType | RuleElementLiteral
| RuleElementComposed | RuleElementWildCard
+ | RuleElementOptional
RuleElementType -> AnnotationTypeExpr OptionalRuleElementPart
RuleElementWithCA -> AnnotationTypeExpr ("{" Conditions?
Actions? "}")?
-AnnotationTypeExpr -> (TypeExpression | AnnotationExpression)
+AnnotationTypeExpr -> (TypeExpression | AnnotationExpression
+ TypeListExpression | AnnotationListExpression)
(Operator)? Expression ("{" Conditions "}")?
FeatureMatchExpression -> TypeExpression ( "." Feature)+
( Operator (Expression | "null"))?
@@ -1572,14 +1659,16 @@ RuleElementComposed -> "(" RuleEle
OptionalRuleElementPart
OptionalRuleElementPart-> QuantifierPart? ("{" Conditions? Actions? "}")?
InlinedRules?
-InlinedRules -> ("<-" "{" SimpleStatement+ "}")?
- ("->" "{" SimpleStatement+ "}")?
+InlinedRules -> ("<-" "{" SimpleStatement+ "}")*
+ ("->" "{" SimpleStatement+ "}")*
RuleElementWildCard -> "#"("{" Conditions? Actions? }")? InlinedRules?
+RuleElementOptional -> "_"("{" Conditions? Actions? }")? InlinedRules?
QuantifierPart -> "*" | "*?" | "+" | "+?" | "?" | "??"
| "[" NumberExpression "," NumberExpression "]"
| "[" NumberExpression "," NumberExpression "]?"
Conditions -> Condition ( "," Condition )*
-Actions -> "->" Action ( "," Action)*
+Actions -> "->" (Identifier ":")? Action
+ ( "," (Identifier ":")? Action)*
</pre><p>
Since each condition and each action has its own syntax, conditions
and actions are described in their own section. For conditions see
@@ -1864,7 +1953,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="d5e1062">2.5.1.1.
+ <div class="section" title="2.5.1.1. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1115">2.5.1.1.
<span class="bold"><strong>Example:</strong></span>
</h4></div></div></div>
@@ -1960,7 +2049,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="d5e1100">2.5.2.1.
+ <div class="section" title="2.5.2.1. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1153">2.5.2.1.
<span class="bold"><strong>Example:</strong></span>
</h4></div></div></div>
@@ -2002,7 +2091,7 @@ ANNOTATIONLIST newAnnotationList;</pre><
</p>
</li></ul></div><p>
</p>
- <div class="section" title="2.5.3.1. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1113">2.5.3.1.
+ <div class="section" title="2.5.3.1. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1166">2.5.3.1.
<span class="bold"><strong>Example:</strong></span>
</h4></div></div></div>
@@ -2020,7 +2109,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="d5e1121">2.5.4.1.
+ <div class="section" title="2.5.4.1. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1174">2.5.4.1.
<span class="bold"><strong>Example:</strong></span>
</h4></div></div></div>
@@ -2062,7 +2151,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="d5e1137">2.5.5.1.
+ <div class="section" title="2.5.5.1. Type System Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1190">2.5.5.1.
<span class="bold"><strong>Type System Example:</strong></span>
</h4></div></div></div>
@@ -2095,7 +2184,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="d5e1142">2.5.5.2.
+ <div class="section" title="2.5.5.2. Analysis Engine Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1195">2.5.5.2.
<span class="bold"><strong>Analysis Engine Example:</strong></span>
</h4></div></div></div>
@@ -2138,7 +2227,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="d5e1161">
+ </p><div class="section" title="Definition:"><div class="titlepage"><div><div><h5 class="title" id="d5e1214">
<span class="bold"><strong>Definition:</strong></span>
</h5></div></div></div>
@@ -2146,7 +2235,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="d5e1166">
+ </p><div class="section" title="Example:"><div class="titlepage"><div><div><h5 class="title" id="d5e1219">
<span class="bold"><strong>Example:</strong></span>
</h5></div></div></div>
@@ -2170,7 +2259,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="d5e1174">2.6.2.1.
+ <div class="section" title="2.6.2.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1227">2.6.2.1.
<span class="bold"><strong>Definition:</strong></span>
</h4></div></div></div>
@@ -2200,7 +2289,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="d5e1181">2.6.2.2.
+ <div class="section" title="2.6.2.2. Examples:"><div class="titlepage"><div><div><h4 class="title" id="d5e1234">2.6.2.2.
<span class="bold"><strong>Examples:</strong></span>
</h4></div></div></div>
@@ -2237,7 +2326,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="d5e1197">2.6.3.1.
+ <div class="section" title="2.6.3.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1250">2.6.3.1.
<span class="bold"><strong>Definition:</strong></span>
</h4></div></div></div>
@@ -2247,7 +2336,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="d5e1202">2.6.3.2.
+ <div class="section" title="2.6.3.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1255">2.6.3.2.
<span class="bold"><strong>Example:</strong></span>
</h4></div></div></div>
@@ -2268,7 +2357,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="d5e1210">2.6.4.1.
+ <div class="section" title="2.6.4.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1263">2.6.4.1.
<span class="bold"><strong>Definition:</strong></span>
</h4></div></div></div>
@@ -2292,7 +2381,7 @@ BooleanLiteral -> "true" | "false
.
</p>
</div>
- <div class="section" title="2.6.4.2. Examples:"><div class="titlepage"><div><div><h4 class="title" id="d5e1217">2.6.4.2.
+ <div class="section" title="2.6.4.2. Examples:"><div class="titlepage"><div><div><h4 class="title" id="d5e1270">2.6.4.2.
<span class="bold"><strong>Examples:</strong></span>
</h4></div></div></div>
@@ -2358,7 +2447,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="d5e1235">2.6.5.1.
+ <div class="section" title="2.6.5.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1288">2.6.5.1.
<span class="bold"><strong>Definition:</strong></span>
</h4></div></div></div>
@@ -2426,7 +2515,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="d5e1253">2.7.1.1.
+ <div class="section" title="2.7.1.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1306">2.7.1.1.
<span class="bold"><strong>Definition:</strong></span>
</h4></div></div></div>
@@ -2434,7 +2523,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="d5e1258">2.7.1.2.
+ <div class="section" title="2.7.1.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1311">2.7.1.2.
<span class="bold"><strong>Example:</strong></span>
</h4></div></div></div>
@@ -2454,7 +2543,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="d5e1267">2.7.2.1.
+ <div class="section" title="2.7.2.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1320">2.7.2.1.
<span class="bold"><strong>Definition:</strong></span>
</h4></div></div></div>
@@ -2462,7 +2551,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="d5e1272">2.7.2.2.
+ <div class="section" title="2.7.2.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1325">2.7.2.2.
<span class="bold"><strong>Example:</strong></span>
</h4></div></div></div>
@@ -2486,7 +2575,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="d5e1281">2.7.3.1.
+ <div class="section" title="2.7.3.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1334">2.7.3.1.
<span class="bold"><strong>Definition:</strong></span>
</h4></div></div></div>
@@ -2494,7 +2583,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="d5e1286">2.7.3.2.
+ <div class="section" title="2.7.3.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1339">2.7.3.2.
<span class="bold"><strong>Example:</strong></span>
</h4></div></div></div>
@@ -2524,7 +2613,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="d5e1295">2.7.4.1.
+ <div class="section" title="2.7.4.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1348">2.7.4.1.
<span class="bold"><strong>Definition:</strong></span>
</h4></div></div></div>
@@ -2532,7 +2621,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="d5e1300">2.7.4.2.
+ <div class="section" title="2.7.4.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1353">2.7.4.2.
<span class="bold"><strong>Example:</strong></span>
</h4></div></div></div>
@@ -2576,7 +2665,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="d5e1316">2.7.5.1.
+ <div class="section" title="2.7.5.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1369">2.7.5.1.
<span class="bold"><strong>Definition:</strong></span>
</h4></div></div></div>
@@ -2584,7 +2673,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="d5e1321">2.7.5.2.
+ <div class="section" title="2.7.5.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1374">2.7.5.2.
<span class="bold"><strong>Example:</strong></span>
</h4></div></div></div>
@@ -2619,7 +2708,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="d5e1330">2.7.6.1.
+ <div class="section" title="2.7.6.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1383">2.7.6.1.
<span class="bold"><strong>Definition:</strong></span>
</h4></div></div></div>
@@ -2631,7 +2720,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="d5e1337">2.7.6.2.
+ <div class="section" title="2.7.6.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1390">2.7.6.2.
<span class="bold"><strong>Example:</strong></span>
</h4></div></div></div>
@@ -2667,7 +2756,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="d5e1349">2.7.7.1.
+ <div class="section" title="2.7.7.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1402">2.7.7.1.
<span class="bold"><strong>Definition:</strong></span>
</h4></div></div></div>
@@ -2675,7 +2764,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="d5e1354">2.7.7.2.
+ <div class="section" title="2.7.7.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1407">2.7.7.2.
<span class="bold"><strong>Example:</strong></span>
</h4></div></div></div>
@@ -2698,7 +2787,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="d5e1363">2.7.8.1.
+ <div class="section" title="2.7.8.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1416">2.7.8.1.
<span class="bold"><strong>Definition:</strong></span>
</h4></div></div></div>
@@ -2706,7 +2795,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="d5e1368">2.7.8.2.
+ <div class="section" title="2.7.8.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1421">2.7.8.2.
<span class="bold"><strong>Example:</strong></span>
</h4></div></div></div>
@@ -2726,7 +2815,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="d5e1377">2.7.9.1.
+ <div class="section" title="2.7.9.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1430">2.7.9.1.
<span class="bold"><strong>Definition:</strong></span>
</h4></div></div></div>
@@ -2734,7 +2823,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="d5e1382">2.7.9.2.
+ <div class="section" title="2.7.9.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1435">2.7.9.2.
<span class="bold"><strong>Example:</strong></span>
</h4></div></div></div>
@@ -2755,7 +2844,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="d5e1391">2.7.10.1.
+ <div class="section" title="2.7.10.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1444">2.7.10.1.
<span class="bold"><strong>Definition:</strong></span>
</h4></div></div></div>
@@ -2763,7 +2852,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="d5e1396">2.7.10.2.
+ <div class="section" title="2.7.10.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1449">2.7.10.2.
<span class="bold"><strong>Example:</strong></span>
</h4></div></div></div>
@@ -2785,7 +2874,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="d5e1405">2.7.11.1.
+ <div class="section" title="2.7.11.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1458">2.7.11.1.
<span class="bold"><strong>Definition:</strong></span>
</h4></div></div></div>
@@ -2796,7 +2885,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="d5e1412">2.7.11.2.
+ <div class="section" title="2.7.11.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1465">2.7.11.2.
<span class="bold"><strong>Example:</strong></span>
</h4></div></div></div>
@@ -2828,7 +2917,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="d5e1424">2.7.12.1.
+ <div class="section" title="2.7.12.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1477">2.7.12.1.
<span class="bold"><strong>Definition:</strong></span>
</h4></div></div></div>
@@ -2836,7 +2925,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="d5e1429">2.7.12.2.
+ <div class="section" title="2.7.12.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1482">2.7.12.2.
<span class="bold"><strong>Example:</strong></span>
</h4></div></div></div>
@@ -2856,7 +2945,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="d5e1438">2.7.13.1.
+ <div class="section" title="2.7.13.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1491">2.7.13.1.
<span class="bold"><strong>Definition:</strong></span>
</h4></div></div></div>
@@ -2864,7 +2953,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="d5e1443">2.7.13.2.
+ <div class="section" title="2.7.13.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1496">2.7.13.2.
<span class="bold"><strong>Example:</strong></span>
</h4></div></div></div>
@@ -2885,7 +2974,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="d5e1452">2.7.14.1.
+ <div class="section" title="2.7.14.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1505">2.7.14.1.
<span class="bold"><strong>Definition:</strong></span>
</h4></div></div></div>
@@ -2893,7 +2982,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="d5e1457">2.7.14.2.
+ <div class="section" title="2.7.14.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1510">2.7.14.2.
<span class="bold"><strong>Example:</strong></span>
</h4></div></div></div>
@@ -2920,7 +3009,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="d5e1466">2.7.15.1.
+ <div class="section" title="2.7.15.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1519">2.7.15.1.
<span class="bold"><strong>Definition:</strong></span>
</h4></div></div></div>
@@ -2929,7 +3018,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="d5e1471">2.7.15.2.
+ <div class="section" title="2.7.15.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1524">2.7.15.2.
<span class="bold"><strong>Example:</strong></span>
</h4></div></div></div>
@@ -2949,7 +3038,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="d5e1480">2.7.16.1.
+ <div class="section" title="2.7.16.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1533">2.7.16.1.
<span class="bold"><strong>Definition:</strong></span>
</h4></div></div></div>
@@ -2957,7 +3046,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="d5e1485">2.7.16.2.
+ <div class="section" title="2.7.16.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1538">2.7.16.2.
<span class="bold"><strong>Example:</strong></span>
</h4></div></div></div>
@@ -2977,7 +3066,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="d5e1494">2.7.17.1.
+ <div class="section" title="2.7.17.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1547">2.7.17.1.
<span class="bold"><strong>Definition:</strong></span>
</h4></div></div></div>
@@ -2985,7 +3074,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="d5e1499">2.7.17.2.
+ <div class="section" title="2.7.17.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1552">2.7.17.2.
<span class="bold"><strong>Example:</strong></span>
</h4></div></div></div>
@@ -3012,7 +3101,7 @@ FeatureAssignmentExpression -> Featur
second argument. Therefore, this condition parses the string <span class="quote">“<span class="quote">2,3</span>”</span> for the locale
<span class="quote">“<span class="quote">en</span>”</span> to the value 23.
</p>
- <div class="section" title="2.7.18.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1510">2.7.18.1.
+ <div class="section" title="2.7.18.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1563">2.7.18.1.
<span class="bold"><strong>Definition:</strong></span>
</h4></div></div></div>
@@ -3020,7 +3109,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="d5e1515">2.7.18.2.
+ <div class="section" title="2.7.18.2. Example:"><div class="titlepage"><div><div><h4 class="title" id="d5e1568">2.7.18.2.
<span class="bold"><strong>Example:</strong></span>
</h4></div></div></div>
@@ -3045,7 +3134,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="d5e1524">2.7.19.1.
+ <div class="section" title="2.7.19.1. Definition:"><div class="titlepage"><div><div><h4 class="title" id="d5e1577">2.7.19.1.
<span class="bold"><strong>Definition:</strong></span>
</h4></div></div></div>
@@ -3053,7 +3142,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="d5e1529">2.7.19.2.
[... 1353 lines stripped ...]