Author: pkluegl Date: Mon Jan 14 15:03:28 2019 New Revision: 1851264 URL: http://svn.apache.org/viewvc?rev=1851264&view=rev Log: UIMA-5955: added mention in docs, updated release-notes
Modified: uima/ruta/trunk/RELEASE_NOTES.html uima/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.language.syntax.xml uima/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.language.xml Modified: uima/ruta/trunk/RELEASE_NOTES.html URL: http://svn.apache.org/viewvc/uima/ruta/trunk/RELEASE_NOTES.html?rev=1851264&r1=1851263&r2=1851264&view=diff ============================================================================== --- uima/ruta/trunk/RELEASE_NOTES.html (original) +++ uima/ruta/trunk/RELEASE_NOTES.html Mon Jan 14 15:03:28 2019 @@ -60,6 +60,7 @@ <li>New configuration parameter 'maxRuleElementMatches'.</li> <li>New configuration parameter 'rulesScriptName'.</li> <li>Inlined rules as condition are only evaluated if the rule element match was successful.</li> + <li>Multiple inlined rule blocks are allowed at one rule element.</li> <li>String features with allowed values are supported.</li> <li>PlainTextAnnotator supports vertical tabs.</li> <li>Various improvements for WORDTABLE.</li> Modified: uima/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.language.syntax.xml URL: http://svn.apache.org/viewvc/uima/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.language.syntax.xml?rev=1851264&r1=1851263&r2=1851264&view=diff ============================================================================== --- uima/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.language.syntax.xml (original) +++ uima/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.language.syntax.xml Mon Jan 14 15:03:28 2019 @@ -141,8 +141,8 @@ RuleElementComposed -> "(" RuleElemen OptionalRuleElementPart OptionalRuleElementPart-> QuantifierPart? ("{" Conditions? Actions? "}")? InlinedRules? -InlinedRules -> ("<-" "{" SimpleStatement+ "}")? - ("->" "{" SimpleStatement+ "}")? +InlinedRules -> ("<-" "{" SimpleStatement+ "}")* + ("->" "{" SimpleStatement+ "}")* RuleElementWildCard -> "#"("{" Conditions? Actions? }")? InlinedRules? RuleElementOptional -> "_"("{" Conditions? Actions? }")? InlinedRules? QuantifierPart -> "*" | "*?" | "+" | "+?" | "?" | "??" Modified: uima/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.language.xml URL: http://svn.apache.org/viewvc/uima/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.language.xml?rev=1851264&r1=1851263&r2=1851264&view=diff ============================================================================== --- uima/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.language.xml (original) +++ uima/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.language.xml Mon Jan 14 15:03:28 2019 @@ -516,7 +516,8 @@ Document{->CALL(MyScript.countNumberOfTy <quote><-</quote> , then the inlined rules are interpreted as some sort of condition. The surrounding rules will - only match, if one of the inlined rules was successfully applied. + only match, if one of the inlined rules was successfully applied. + A rule element may be extended with several inlined rule blocks of the same type. The functionality introduced by inlined rules is illustrated with a few examples: </para>