Author: pkluegl Date: Wed May 1 15:04:01 2013 New Revision: 1478042 URL: http://svn.apache.org/r1478042 Log: UIMA-2850 - renaming
Added: uima/sandbox/ruta/trunk/ruta-docbook/src/docbook/images/tools/ruta/workbench/overview/screenshot_ruta_perspective_.png - copied unchanged from r1477182, uima/sandbox/ruta/trunk/ruta-docbook/src/docbook/images/tools/ruta/workbench/overview/screenshot_tm_perspective_.png Removed: uima/sandbox/ruta/trunk/ruta-docbook/src/docbook/images/tools/ruta/workbench/overview/screenshot_tm_perspective_.png Modified: uima/sandbox/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.language.actions.xml uima/sandbox/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.language.basic_annotations.xml uima/sandbox/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.language.conditions.xml uima/sandbox/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.language.declarations.xml uima/sandbox/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.language.expressions.xml uima/sandbox/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.language.quantifier.xml uima/sandbox/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.language.syntax.xml uima/sandbox/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.language.xml uima/sandbox/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.overview.xml uima/sandbox/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.workbench.create_dictionaries.xml uima/sandbox/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.workbench.explain_perspective.xml uima/sandbox/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.workbench.install.xml uima/sandbox/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.workbench.overview.xml uima/sandbox/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.workbench.projects.xml uima/sandbox/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.workbench.query.xml uima/sandbox/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.workbench.testing.xml uima/sandbox/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.workbench.textruler.xml uima/sandbox/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.workbench.tm_perspective.xml uima/sandbox/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.workbench.xml Modified: uima/sandbox/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.language.actions.xml URL: http://svn.apache.org/viewvc/uima/sandbox/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.language.actions.xml?rev=1478042&r1=1478041&r2=1478042&view=diff ============================================================================== --- uima/sandbox/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.language.actions.xml (original) +++ uima/sandbox/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.language.actions.xml Wed May 1 15:04:01 2013 @@ -24,17 +24,17 @@ specific language governing permissions under the License. --> -<section id="ugr.tools.tm.language.actions"> +<section id="ugr.tools.ruta.language.actions"> <title>Actions</title> - <section id="ugr.tools.tm.language.actions.add"> + <section id="ugr.tools.ruta.language.actions.add"> <title>ADD</title> <para> The ADD action adds all the elements of the passed RutaExpressions to a given list. For example, this expressions could be a string, an integer variable or a list. For a complete overview on Textmarker expressions see - <xref linkend='ugr.tools.tm.language.expressions' />. + <xref linkend='ugr.tools.ruta.language.expressions' />. </para> <section> <title> @@ -58,7 +58,7 @@ under the License. </section> </section> - <section id="ugr.tools.tm.language.actions.addfiltertype"> + <section id="ugr.tools.ruta.language.actions.addfiltertype"> <title>ADDFILTERTYPE</title> <para> The ADDFILTERTYPE action adds its arguments to the list of filtered types, @@ -85,7 +85,7 @@ under the License. </section> </section> - <section id="ugr.tools.tm.language.actions.addretaintype"> + <section id="ugr.tools.ruta.language.actions.addretaintype"> <title>ADDRETAINTYPE</title> <para> The ADDFILTERTYPE action adds its arguments to the list of retained types, @@ -113,7 +113,7 @@ under the License. </section> - <section id="ugr.tools.tm.language.actions.assign"> + <section id="ugr.tools.ruta.language.actions.assign"> <title>ASSIGN</title> <para> The ASSIGN action assigns the value of the passed expression to @@ -149,7 +149,7 @@ under the License. </section> </section> - <section id="ugr.tools.tm.language.actions.call"> + <section id="ugr.tools.ruta.language.actions.call"> <title>CALL</title> <para> The CALL action initiates the execution of a different script @@ -181,7 +181,7 @@ under the License. </section> </section> - <section id="ugr.tools.tm.language.actions.clear"> + <section id="ugr.tools.ruta.language.actions.clear"> <title>CLEAR</title> <para> The CLEAR action removes all elements of the given list. If the list was initialized as it was declared, @@ -208,7 +208,7 @@ under the License. </section> </section> - <section id="ugr.tools.tm.language.actions.color"> + <section id="ugr.tools.ruta.language.actions.color"> <title>COLOR</title> <para> The COLOR action sets the color of an annotation type in the @@ -244,7 +244,7 @@ under the License. </section> </section> - <section id="ugr.tools.tm.language.actions.configure"> + <section id="ugr.tools.ruta.language.actions.configure"> <title>CONFIGURE</title> <para> The CONFIGURE action can be used to configure the analysis @@ -276,7 +276,7 @@ Document{->CONFIGURE(HtmlAnnotator, "onl </section> </section> - <section id="ugr.tools.tm.language.actions.create"> + <section id="ugr.tools.ruta.language.actions.create"> <title>CREATE</title> <para> The CREATE action is similar to the MARK action. It also @@ -310,7 +310,7 @@ Document{->CONFIGURE(HtmlAnnotator, "onl </section> </section> - <section id="ugr.tools.tm.language.actions.del"> + <section id="ugr.tools.ruta.language.actions.del"> <title>DEL</title> <para> The DEL action deletes the matched text fragments in the @@ -339,7 +339,7 @@ Document{->CONFIGURE(HtmlAnnotator, "onl </section> </section> - <section id="ugr.tools.tm.language.actions.dynamicanchoring"> + <section id="ugr.tools.ruta.language.actions.dynamicanchoring"> <title>DYNAMICANCHORING</title> <para> The DYNAMICANCHORING action turns dynamic anchoring on or off @@ -368,7 +368,7 @@ Document{->CONFIGURE(HtmlAnnotator, "onl </section> </section> - <section id="ugr.tools.tm.language.actions.exec"> + <section id="ugr.tools.ruta.language.actions.exec"> <title>EXEC</title> <para> The EXEC action initiates the execution of a different script @@ -400,7 +400,7 @@ Document{->EXEC(NamedEntities)};]]></pro </para> </section> </section> - <section id="ugr.tools.tm.language.actions.fill"> + <section id="ugr.tools.ruta.language.actions.fill"> <title>FILL</title> <para> The FILL action fills a choosen subset of the given type's @@ -431,12 +431,12 @@ Document{->EXEC(NamedEntities)};]]></pro </section> </section> - <section id="ugr.tools.tm.language.actions.filtertype"> + <section id="ugr.tools.ruta.language.actions.filtertype"> <title>FILTERTYPE</title> <para> This action filters the given types of annotations. They are now ignored by rules. Expressions are not yet supported. - This action is related to RETAINTYPE (see <xref linkend='ugr.tools.tm.language.actions.retaintype' />). + This action is related to RETAINTYPE (see <xref linkend='ugr.tools.ruta.language.actions.retaintype' />). </para> <note> <para> @@ -478,7 +478,7 @@ Document{->EXEC(NamedEntities)};]]></pro </section> </section> - <section id="ugr.tools.tm.language.actions.gather"> + <section id="ugr.tools.ruta.language.actions.gather"> <title>GATHER</title> <para> This action creates a complex structure: an annotation with @@ -519,7 +519,7 @@ A B{-> GATHER(C, 1, 2, "a" = 1, "b" = 2) </section> </section> - <section id="ugr.tools.tm.language.actions.get"> + <section id="ugr.tools.ruta.language.actions.get"> <title>GET</title> <para> The GET action retrieves an element of the given list dependent on a @@ -564,7 +564,7 @@ A B{-> GATHER(C, 1, 2, "a" = 1, "b" = 2) </section> </section> - <section id="ugr.tools.tm.language.actions.getfeature"> + <section id="ugr.tools.ruta.language.actions.getfeature"> <title>GETFEATURE</title> <para> The GETFEATURE action stores the value of the matched @@ -593,7 +593,7 @@ A B{-> GATHER(C, 1, 2, "a" = 1, "b" = 2) </section> </section> - <section id="ugr.tools.tm.language.actions.getlist"> + <section id="ugr.tools.ruta.language.actions.getlist"> <title>GETLIST</title> <para> This action retrieves a list of types dependent on a given strategy. @@ -650,7 +650,7 @@ A B{-> GATHER(C, 1, 2, "a" = 1, "b" = 2) </section> </section> - <section id="ugr.tools.tm.language.actions.log"> + <section id="ugr.tools.ruta.language.actions.log"> <title>LOG</title> <para> The LOG action writes a log message. @@ -676,7 +676,7 @@ A B{-> GATHER(C, 1, 2, "a" = 1, "b" = 2) </section> </section> - <section id="ugr.tools.tm.language.actions.mark"> + <section id="ugr.tools.ruta.language.actions.mark"> <title>MARK</title> <para> The MARK action is the most important action in the Ruta @@ -710,7 +710,7 @@ A B{-> GATHER(C, 1, 2, "a" = 1, "b" = 2) </section> </section> - <section id="ugr.tools.tm.language.actions.markfast"> + <section id="ugr.tools.ruta.language.actions.markfast"> <title>MARKFAST</title> <para> The MARKFAST action creates annotations of the given type (first @@ -725,7 +725,7 @@ A B{-> GATHER(C, 1, 2, "a" = 1, "b" = 2) parameter is set to true by default and specifies whether whitespaces in the entries of the dictionary should be ignored. For more information on lists see - <xref linkend='ugr.tools.tm.language.declarations.ressource' />. + <xref linkend='ugr.tools.ruta.language.declarations.ressource' />. Additionally to external word lists, string lists variables can be used. </para> @@ -758,7 +758,7 @@ Document{-> MARKFAST(FirstName, FirstNam </section> </section> - <section id="ugr.tools.tm.language.actions.marklast"> + <section id="ugr.tools.ruta.language.actions.marklast"> <title>MARKLAST</title> <para> The MARKLAST action annotates the last token of the matched @@ -786,7 +786,7 @@ Document{-> MARKFAST(FirstName, FirstNam </section> </section> - <section id="ugr.tools.tm.language.actions.markonce"> + <section id="ugr.tools.ruta.language.actions.markonce"> <title>MARKONCE</title> <para> The MARKONCE action has the same functionality as the MARK @@ -818,7 +818,7 @@ Document{-> MARKFAST(FirstName, FirstNam </section> </section> - <section id="ugr.tools.tm.language.actions.markscore"> + <section id="ugr.tools.ruta.language.actions.markscore"> <title>MARKSCORE</title> <para> The MARKSCORE action is similar to the MARK action. It also creates a @@ -828,7 +828,7 @@ Document{-> MARKFAST(FirstName, FirstNam information of several rule elements. Additionally, a score value (first parameter) is added to the heuristic score value of the annotation. For more information on heuristic scores see - <xref linkend='ugr.tools.tm.language.score' /> + <xref linkend='ugr.tools.ruta.language.score' /> . </para> <section> @@ -858,7 +858,7 @@ Document{-> MARKFAST(FirstName, FirstNam </section> </section> - <section id="ugr.tools.tm.language.actions.marktable"> + <section id="ugr.tools.ruta.language.actions.marktable"> <title>MARKTABLE</title> <para> The MARKTABLE action creates annotations of the given type (first @@ -870,7 +870,7 @@ Document{-> MARKFAST(FirstName, FirstNam entries of the given table to features of the created annotation. For more information on tables see - <xref linkend='ugr.tools.tm.language.declarations.ressource' />. Additionally, several configuration parameters are possible. (See example.) + <xref linkend='ugr.tools.ruta.language.declarations.ressource' />. Additionally, several configuration parameters are possible. (See example.) </para> <section> <title> @@ -905,7 +905,7 @@ Document{-> MARKTABLE(Struct, 1, TestTab </section> </section> - <section id="ugr.tools.tm.language.actions.matchedtext"> + <section id="ugr.tools.ruta.language.actions.matchedtext"> <title>MATCHEDTEXT</title> <para> The MATCHEDTEXT action saves the text of the matched annotation @@ -935,7 +935,7 @@ Document{-> MARKTABLE(Struct, 1, TestTab </section> </section> - <section id="ugr.tools.tm.language.actions.merge"> + <section id="ugr.tools.ruta.language.actions.merge"> <title>MERGE</title> <para> The MERGE action merges a number of given lists. The first @@ -965,7 +965,7 @@ Document{-> MARKTABLE(Struct, 1, TestTab </section> </section> - <section id="ugr.tools.tm.language.actions.remove"> + <section id="ugr.tools.ruta.language.actions.remove"> <title>REMOVE</title> <para> The REMOVE action removes lists or single values from a given @@ -993,7 +993,7 @@ Document{-> MARKTABLE(Struct, 1, TestTab </section> </section> - <section id="ugr.tools.tm.language.actions.removeduplicate"> + <section id="ugr.tools.ruta.language.actions.removeduplicate"> <title>REMOVEDUPLICATE</title> <para> This action removes all duplicates within a given list. @@ -1019,7 +1019,7 @@ Document{-> MARKTABLE(Struct, 1, TestTab </section> </section> - <section id="ugr.tools.tm.language.actions.removefiltertype"> + <section id="ugr.tools.ruta.language.actions.removefiltertype"> <title>REMOVEFILTERTYPE</title> <para> The REMOVEFILTERTYPE action removes its arguments from the list of filtered types, @@ -1046,7 +1046,7 @@ Document{-> MARKTABLE(Struct, 1, TestTab </section> </section> - <section id="ugr.tools.tm.language.actions.removeretaintype"> + <section id="ugr.tools.ruta.language.actions.removeretaintype"> <title>REMOVERETAINTYPE</title> <para> The REMOVEFILTERTYPE action removes its arguments from the list of retained types, @@ -1074,13 +1074,13 @@ Document{-> MARKTABLE(Struct, 1, TestTab </section> - <section id="ugr.tools.tm.language.actions.replace"> + <section id="ugr.tools.ruta.language.actions.replace"> <title>REPLACE</title> <para> The REPLACE action replaces the text of all matched annotations with the given StringExpression. It remembers the modification for the matched annotations and shows them in the modified view (see - <xref linkend='ugr.tools.tm.language.modification' />). + <xref linkend='ugr.tools.ruta.language.modification' />). </para> <section> <title> @@ -1104,12 +1104,12 @@ Document{-> MARKTABLE(Struct, 1, TestTab </section> </section> - <section id="ugr.tools.tm.language.actions.retaintype"> + <section id="ugr.tools.ruta.language.actions.retaintype"> <title>RETAINTYPE</title> <para> The RETAINTYPE action retains the given types. This means that they are now not ignored by rules. This action is related to - FILTERTYPE (see <xref linkend='ugr.tools.tm.language.actions.filtertype' />). + FILTERTYPE (see <xref linkend='ugr.tools.ruta.language.actions.filtertype' />). </para> <note> <para> @@ -1150,7 +1150,7 @@ Document{-> MARKTABLE(Struct, 1, TestTab </section> </section> - <section id="ugr.tools.tm.language.actions.setfeature"> + <section id="ugr.tools.ruta.language.actions.setfeature"> <title>SETFEATURE</title> <para> The SETFEATURE action sets the value of a feature of the @@ -1179,7 +1179,7 @@ Document{-> MARKTABLE(Struct, 1, TestTab </section> </section> - <section id="ugr.tools.tm.language.actions.shift"> + <section id="ugr.tools.ruta.language.actions.shift"> <title>SHIFT</title> <para> The SHIFT action can be used to change the offsets of an annotation. The optional number expressions, @@ -1216,7 +1216,7 @@ Document{-> MARKTABLE(Struct, 1, TestTab </section> </section> - <section id="ugr.tools.tm.language.actions.transfer"> + <section id="ugr.tools.ruta.language.actions.transfer"> <title>TRANSFER</title> <para> The TRANSFER action creates a new feature structure and adds all @@ -1246,7 +1246,7 @@ Document{-> MARKTABLE(Struct, 1, TestTab </section> </section> - <section id="ugr.tools.tm.language.actions.trie"> + <section id="ugr.tools.ruta.language.actions.trie"> <title>TRIE</title> <para> The TRIE action uses an external multi tree word list to @@ -1284,7 +1284,7 @@ Document{-> MARKTABLE(Struct, 1, TestTab </section> </section> -<section id="ugr.tools.tm.language.actions.trim"> +<section id="ugr.tools.ruta.language.actions.trim"> <title>TRIM</title> <para> The TRIM action changes the offsets on the matched annotations by removing annotations, whose @@ -1313,7 +1313,7 @@ Document{-> MARKTABLE(Struct, 1, TestTab </section> </section> - <section id="ugr.tools.tm.language.actions.unmark"> + <section id="ugr.tools.ruta.language.actions.unmark"> <title>UNMARK</title> <para> The UNMARK action removes the annotation of the given type @@ -1357,7 +1357,7 @@ Document{-> MARKTABLE(Struct, 1, TestTab </section> </section> - <section id="ugr.tools.tm.language.actions.unmarkall"> + <section id="ugr.tools.ruta.language.actions.unmarkall"> <title>UNMARKALL</title> <para> The UNMARKALL action removes all the annotations of the given Modified: uima/sandbox/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.language.basic_annotations.xml URL: http://svn.apache.org/viewvc/uima/sandbox/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.language.basic_annotations.xml?rev=1478042&r1=1478041&r2=1478042&view=diff ============================================================================== --- uima/sandbox/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.language.basic_annotations.xml (original) +++ uima/sandbox/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.language.basic_annotations.xml Wed May 1 15:04:01 2013 @@ -16,23 +16,23 @@ OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> -<section id="ugr.tools.tm.language.seeding"> +<section id="ugr.tools.ruta.language.seeding"> <title>Basic annotations and tokens</title> <para> The Ruta system uses a JFlex lexer to initially create a - seed of basic token annotations. These tokens build a hierarchy shown in <xref linkend='figure.ugr.tools.tm.language.seeding.basic_token' />. The + seed of basic token annotations. These tokens build a hierarchy shown in <xref linkend='figure.ugr.tools.ruta.language.seeding.basic_token' />. The <quote>ALL</quote> (green) annotation is the root of the hierarchy. ALL and the red marked annotation types are abstract. This means that they are actually not created by the lexer. An overview of these abstract types can - be found in <xref linkend='table.ugr.tools.tm.language.seeding.basic_token.abstract' />. The leafs of the hierarchy (blue) are created by the lexer. Each + be found in <xref linkend='table.ugr.tools.ruta.language.seeding.basic_token.abstract' />. The leafs of the hierarchy (blue) are created by the lexer. Each leaf is an own type, but also inherits the types of the abstract annotation types further up in the hierarchy. The leaf types are - described in more detail in <xref linkend='table.ugr.tools.tm.language.seeding.basic_token.created' />. + described in more detail in <xref linkend='table.ugr.tools.ruta.language.seeding.basic_token.created' />. Each text unit within an input document belongs to exactly one of these annotation types. </para> <para> - <figure id="figure.ugr.tools.tm.language.seeding.basic_token"> + <figure id="figure.ugr.tools.ruta.language.seeding.basic_token"> <title>Basic token hierarchy </title> <mediaobject> @@ -53,7 +53,7 @@ </figure> </para> <para> - <table id="table.ugr.tools.tm.language.seeding.basic_token.abstract" + <table id="table.ugr.tools.ruta.language.seeding.basic_token.abstract" frame="all"> <title>Abstract annotations</title> <tgroup cols="3" colsep="1" rowsep="1"> @@ -105,7 +105,7 @@ </table> </para> <para> - <table id="table.ugr.tools.tm.language.seeding.basic_token.created" + <table id="table.ugr.tools.ruta.language.seeding.basic_token.created" frame="all"> <title>Annotations created by lexer</title> <tgroup cols="4" colsep="1" rowsep="1"> Modified: uima/sandbox/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.language.conditions.xml URL: http://svn.apache.org/viewvc/uima/sandbox/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.language.conditions.xml?rev=1478042&r1=1478041&r2=1478042&view=diff ============================================================================== --- uima/sandbox/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.language.conditions.xml (original) +++ uima/sandbox/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.language.conditions.xml Wed May 1 15:04:01 2013 @@ -16,10 +16,10 @@ OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> -<section id="ugr.tools.tm.language.conditions"> +<section id="ugr.tools.ruta.language.conditions"> <title>Conditions</title> - <section id="ugr.tools.tm.language.conditions.after"> + <section id="ugr.tools.ruta.language.conditions.after"> <title>AFTER</title> <para> The AFTER condition evaluates true, if the matched annotation @@ -49,7 +49,7 @@ </section> </section> - <section id="ugr.tools.tm.language.conditions.and"> + <section id="ugr.tools.ruta.language.conditions.and"> <title>AND</title> <para> The AND condition is a composed condition and evaluates true, if @@ -79,7 +79,7 @@ </section> </section> - <section id="ugr.tools.tm.language.conditions.before"> + <section id="ugr.tools.ruta.language.conditions.before"> <title>BEFORE</title> <para> The BEFORE condition evaluates true, if the matched annotation @@ -109,7 +109,7 @@ </section> </section> - <section id="ugr.tools.tm.language.conditions.contains"> + <section id="ugr.tools.ruta.language.conditions.contains"> <title>CONTAINS</title> <para> The CONTAINS condition evaluates true on a matched annotation, @@ -159,14 +159,14 @@ contains between 50% and 100% Keyword annotations. This is calculated based on the tokens of the Paragraph. If the Paragraph contains six basic annotations (see - <xref linkend='ugr.tools.tm.language.seeding' />), two of them are part of one Keyword annotation, and if one basic + <xref linkend='ugr.tools.ruta.language.seeding' />), two of them are part of one Keyword annotation, and if one basic annotation is also annotated with a Keyword annotation, then the percentage of the contained Keywords is 50%. </para> </section> </section> - <section id="ugr.tools.tm.language.conditions.contextcount"> + <section id="ugr.tools.ruta.language.conditions.contextcount"> <title>CONTEXTCOUNT</title> <para> The CONTEXTCOUNT condition numbers all occurrences of the @@ -203,7 +203,7 @@ </section> </section> - <section id="ugr.tools.tm.language.conditions.count"> + <section id="ugr.tools.ruta.language.conditions.count"> <title>COUNT</title> <para> The COUNT condition can be used in two different ways. In the @@ -257,7 +257,7 @@ </section> </section> - <section id="ugr.tools.tm.language.conditions.currentcount"> + <section id="ugr.tools.ruta.language.conditions.currentcount"> <title>CURRENTCOUNT</title> <para> The CURRENTCOUNT condition numbers all occurences of the matched @@ -291,7 +291,7 @@ </section> </section> - <section id="ugr.tools.tm.language.conditions.endswith"> + <section id="ugr.tools.ruta.language.conditions.endswith"> <title>ENDSWITH</title> <para> The ENDSWITH condition evaluates true, if an annotation of the @@ -321,7 +321,7 @@ </section> </section> - <section id="ugr.tools.tm.language.conditions.feature"> + <section id="ugr.tools.ruta.language.conditions.feature"> <title>FEATURE</title> <para> The FEATURE condition compares a feature of the matched @@ -350,7 +350,7 @@ </section> </section> - <section id="ugr.tools.tm.language.conditions.if"> + <section id="ugr.tools.ruta.language.conditions.if"> <title>IF</title> <para> The IF condition evaluates true, if the contained boolean @@ -379,7 +379,7 @@ </section> </section> - <section id="ugr.tools.tm.language.conditions.inlist"> + <section id="ugr.tools.ruta.language.conditions.inlist"> <title>INLIST</title> <para> The INLIST condition is fulfilled, if the matched annotation is listed @@ -414,7 +414,7 @@ </section> </section> - <section id="ugr.tools.tm.language.conditions.is"> + <section id="ugr.tools.ruta.language.conditions.is"> <title>IS</title> <para> The IS condition evaluates true, if there is an annotation of the @@ -446,7 +446,7 @@ </section> </section> - <section id="ugr.tools.tm.language.conditions.last"> + <section id="ugr.tools.ruta.language.conditions.last"> <title>LAST</title> <para> The LAST condition evaluates true, if the type of the last token @@ -474,7 +474,7 @@ </section> </section> - <section id="ugr.tools.tm.language.conditions.mofn"> + <section id="ugr.tools.ruta.language.conditions.mofn"> <title>MOFN</title> <para> The MOFN condition is a composed condition. It evaluates true if @@ -505,7 +505,7 @@ </section> </section> - <section id="ugr.tools.tm.language.conditions.near"> + <section id="ugr.tools.ruta.language.conditions.near"> <title>NEAR</title> <para> The NEAR condition is fulfilled, if the distance of the matched @@ -539,7 +539,7 @@ </section> </section> - <section id="ugr.tools.tm.language.conditions.not"> + <section id="ugr.tools.ruta.language.conditions.not"> <title>NOT</title> <para> The NOT condition negates the result of its contained @@ -567,7 +567,7 @@ </section> </section> - <section id="ugr.tools.tm.language.conditions.or"> + <section id="ugr.tools.ruta.language.conditions.or"> <title>OR</title> <para> The OR Condition is a composed condition and evaluates true, if @@ -597,7 +597,7 @@ </section> </section> - <section id="ugr.tools.tm.language.conditions.parse"> + <section id="ugr.tools.ruta.language.conditions.parse"> <title>PARSE</title> <para> The PARSE condition is fulfilled, if the text covered by the @@ -627,7 +627,7 @@ </section> </section> - <section id="ugr.tools.tm.language.conditions.partof"> + <section id="ugr.tools.ruta.language.conditions.partof"> <title>PARTOF</title> <para> The PARTOF condition is fulfilled, if the matched annotation is @@ -660,7 +660,7 @@ </section> </section> - <section id="ugr.tools.tm.language.conditions.partofneq"> + <section id="ugr.tools.ruta.language.conditions.partofneq"> <title>PARTOFNEQ</title> <para> The PARTOFNEQ condition is fulfilled if the matched annotation @@ -691,7 +691,7 @@ </section> </section> - <section id="ugr.tools.tm.language.conditions.position"> + <section id="ugr.tools.ruta.language.conditions.position"> <title>POSITION</title> <para> The POSITION condition is fulfilled, if the matched type is the @@ -731,7 +731,7 @@ </section> </section> - <section id="ugr.tools.tm.language.conditions.regexp"> + <section id="ugr.tools.ruta.language.conditions.regexp"> <title>REGEXP</title> <para> The REGEXP condition is fulfilled, if the given pattern matches on the @@ -770,7 +770,7 @@ </section> </section> - <section id="ugr.tools.tm.language.conditions.score"> + <section id="ugr.tools.ruta.language.conditions.score"> <title>SCORE</title> <para> The SCORE condition evaluates the heuristic score of the matched @@ -803,7 +803,7 @@ </section> </section> - <section id="ugr.tools.tm.language.conditions.size"> + <section id="ugr.tools.ruta.language.conditions.size"> <title>SIZE</title> <para> The SIZE contition counts the number of elements in the given @@ -835,7 +835,7 @@ </section> </section> - <section id="ugr.tools.tm.language.conditions.startswith"> + <section id="ugr.tools.ruta.language.conditions.startswith"> <title>STARTSWITH</title> <para> The STARTSWITH condition evaluates true, if an annotation of the @@ -865,7 +865,7 @@ </section> </section> - <section id="ugr.tools.tm.language.conditions.totalcount"> + <section id="ugr.tools.ruta.language.conditions.totalcount"> <title>TOTALCOUNT</title> <para> The TOTALCOUNT condition counts the annotations of the passed @@ -899,7 +899,7 @@ </section> </section> - <section id="ugr.tools.tm.language.conditions.vote"> + <section id="ugr.tools.ruta.language.conditions.vote"> <title>VOTE</title> <para> The VOTE condition counts the annotations of the given two types Modified: uima/sandbox/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.language.declarations.xml URL: http://svn.apache.org/viewvc/uima/sandbox/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.language.declarations.xml?rev=1478042&r1=1478041&r2=1478042&view=diff ============================================================================== --- uima/sandbox/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.language.declarations.xml (original) +++ uima/sandbox/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.language.declarations.xml Wed May 1 15:04:01 2013 @@ -16,7 +16,7 @@ OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> -<section id="ugr.tools.tm.language.declarations"> +<section id="ugr.tools.ruta.language.declarations"> <title>Declarations</title> <para> There are three different kinds of declarations in the Ruta system: @@ -25,7 +25,7 @@ external resources, further Ruta scripts and UIMA components such as type systems and analysis engines. </para> - <section id="ugr.tools.tm.language.declarations.type"> + <section id="ugr.tools.ruta.language.declarations.type"> <title>Types</title> <para> Type declarations define new kinds of annotation types and @@ -49,7 +49,7 @@ DECLARE ParentType NewType (SomeType fea </para> </section> </section> - <section id="ugr.tools.tm.language.declarations.variable"> + <section id="ugr.tools.ruta.language.declarations.variable"> <title>Variables</title> <para> Variable declarations define new variables. There are 12 kinds of @@ -150,7 +150,7 @@ BOOLEANLIST newBooleanList;]]></programl </para> </section> </section> - <section id="ugr.tools.tm.language.declarations.ressource"> + <section id="ugr.tools.ruta.language.declarations.ressource"> <title>Resources</title> <para> There are two kinds of resource declarations that make external @@ -183,7 +183,7 @@ WORDTABLE tableName = 'someTable.csv';]] </para> </section> </section> - <section id="ugr.tools.tm.language.declarations.scripts"> + <section id="ugr.tools.ruta.language.declarations.scripts"> <title>Scripts</title> <para> Additional scripts can be imported and reused with the CALL action. @@ -196,13 +196,13 @@ WORDTABLE tableName = 'someTable.csv';]] <emphasis role="bold">Example:</emphasis> </title> <para> - <programlisting><![CDATA[SCRIPT my.package.AnotherScript; // "AnotherScript.tm" in the + <programlisting><![CDATA[SCRIPT my.package.AnotherScript; // "AnotherScript.ruta" in the //package "my.package" -Document{->CALL(AnotherScript)}; // <- rule executes "AnotherScript.tm"]]></programlisting> +Document{->CALL(AnotherScript)}; // <- rule executes "AnotherScript.ruta"]]></programlisting> </para> </section> </section> - <section id="ugr.tools.tm.language.declarations.components"> + <section id="ugr.tools.ruta.language.declarations.components"> <title>Components</title> <para> There are two kinds of UIMA components that can be imported in a Modified: uima/sandbox/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.language.expressions.xml URL: http://svn.apache.org/viewvc/uima/sandbox/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.language.expressions.xml?rev=1478042&r1=1478041&r2=1478042&view=diff ============================================================================== --- uima/sandbox/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.language.expressions.xml (original) +++ uima/sandbox/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.language.expressions.xml Wed May 1 15:04:01 2013 @@ -16,7 +16,7 @@ OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> -<section id="ugr.tools.tm.language.expressions"> +<section id="ugr.tools.ruta.language.expressions"> <title>Expressions</title> <para> Ruta provides five different kinds of expressions. These are @@ -29,20 +29,20 @@ StringExpression | BooleanExpression | ListExpression]]></programlisting> </para> - <section id="ugr.tools.tm.language.expressions.type"> + <section id="ugr.tools.ruta.language.expressions.type"> <title>Type Expressions</title> <para> Ruta provides two kinds of type expressions. <orderedlist numeration="arabic"> <listitem> Declared annotation types (see - <xref linkend='ugr.tools.tm.language.declarations.type' /> + <xref linkend='ugr.tools.ruta.language.declarations.type' /> ). </listitem> <listitem> Type variables (see - <xref linkend='ugr.tools.tm.language.declarations.variable' /> + <xref linkend='ugr.tools.ruta.language.declarations.variable' /> ). </listitem> </orderedlist> @@ -68,7 +68,7 @@ Document{->ASSIGN(typeVar, Author)};]]>< </para> </section> - <section id="ugr.tools.tm.language.expressions.number"> + <section id="ugr.tools.ruta.language.expressions.number"> <title>Number Expressions</title> <para> Ruta provides several possibilities to define number @@ -105,7 +105,7 @@ Digit -> ('0'..'9') ]]>< </section> <para> For more information on number variables, see - <xref linkend='ugr.tools.tm.language.declarations.variable' /> + <xref linkend='ugr.tools.ruta.language.declarations.variable' /> . </para> <section> @@ -127,7 +127,7 @@ Document{->ASSIGN(intVar1, 12 * intVar1 </section> </section> - <section id="ugr.tools.tm.language.expressions.string"> + <section id="ugr.tools.ruta.language.expressions.string"> <title>String Expressions</title> <para> There are two kinds of string expressions in Ruta. @@ -142,7 +142,7 @@ Document{->ASSIGN(intVar1, 12 * intVar1 <listitem> <para> String variables (see - <xref linkend='ugr.tools.tm.language.declarations.variable' /> + <xref linkend='ugr.tools.ruta.language.declarations.variable' /> ) </para> </listitem> @@ -170,7 +170,7 @@ Document{->ASSIGN(strVar, "strLiteral" + </section> </section> - <section id="ugr.tools.tm.language.expressions.boolean"> + <section id="ugr.tools.ruta.language.expressions.boolean"> <title>Boolean Expressions</title> <para> Ruta provides several possibilities to define boolean @@ -199,7 +199,7 @@ BooleanLiteral -> "true" | "false"]] </para> <para> Boolean variables are defined in - <xref linkend='ugr.tools.tm.language.declarations.variable' /> + <xref linkend='ugr.tools.ruta.language.declarations.variable' /> . </para> </section> @@ -264,7 +264,7 @@ BooleanLiteral -> "true" | "false"]] </section> -<section id="ugr.tools.tm.language.expressions.lists"> +<section id="ugr.tools.ruta.language.expressions.lists"> <title>List Expressions</title> <para> List expression are a rather simple kind of expression. @@ -297,7 +297,7 @@ BooleanListExpression -> BooleanListVa </para> <para> List variables are defined in - <xref linkend='ugr.tools.tm.language.declarations.variable' />. + <xref linkend='ugr.tools.ruta.language.declarations.variable' />. </para> </section> </section> Modified: uima/sandbox/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.language.quantifier.xml URL: http://svn.apache.org/viewvc/uima/sandbox/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.language.quantifier.xml?rev=1478042&r1=1478041&r2=1478042&view=diff ============================================================================== --- uima/sandbox/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.language.quantifier.xml (original) +++ uima/sandbox/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.language.quantifier.xml Wed May 1 15:04:01 2013 @@ -16,11 +16,11 @@ OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> -<section id="ugr.tools.tm.language.quantifier"> +<section id="ugr.tools.ruta.language.quantifier"> <title>Quantifiers</title> <para> </para> - <section id="ugr.tools.tm.language.quantifier.sg"> + <section id="ugr.tools.ruta.language.quantifier.sg"> <title>* Star Greedy</title> <para> The Star Greedy quantifier matches on any amount of annotations and @@ -36,7 +36,7 @@ Matched: Big Big Matched: Big]]></programlisting> </para> </section> - <section id="ugr.tools.tm.language.quantifier.sr"> + <section id="ugr.tools.ruta.language.quantifier.sr"> <title>*? Star Reluctant</title> <para> The Star Reluctant quantifier matches on any amount of annotations @@ -56,7 +56,7 @@ Matched: Big]]></programlisting> if the rule starts matching with the first rule element. </para> </section> - <section id="ugr.tools.tm.language.quantifier.pg"> + <section id="ugr.tools.ruta.language.quantifier.pg"> <title>+ Plus Greedy</title> <para> The Plus Greedy quantifier needs to match on at least one @@ -74,7 +74,7 @@ Matched: small small Matched: small]]></programlisting> </para> </section> - <section id="ugr.tools.tm.language.quantifier.pr"> + <section id="ugr.tools.ruta.language.quantifier.pr"> <title>+? Plus Reluctant</title> <para> The Plus Reluctant quantifier has to match on at least one @@ -90,7 +90,7 @@ Matched: small small Big Matched: small Big]]></programlisting> </para> </section> - <section id="ugr.tools.tm.language.quantifier.qg"> + <section id="ugr.tools.ruta.language.quantifier.qg"> <title>? Question Greedy</title> <para> The Question Greedy quantifier matches optionally on an annotation @@ -102,7 +102,7 @@ Rule: SW CW? SW Matched: small Big small]]></programlisting> </para> </section> - <section id="ugr.tools.tm.language.quantifier.qr"> + <section id="ugr.tools.ruta.language.quantifier.qr"> <title>?? Question Reluctant</title> <para> The Question Reluctant quantifier matches optionally on an @@ -117,7 +117,7 @@ Rule: SW CW?? SW Matched: small Big small]]></programlisting> </para> </section> - <section id="ugr.tools.tm.language.quantifier.mmg"> + <section id="ugr.tools.ruta.language.quantifier.mmg"> <title>[x,y] Min Max Greedy</title> <para> The Min Max Greedy quantifier has to match at least x and at most y @@ -129,7 +129,7 @@ Rule: SW CW[1,2] SW Matched: small Big small]]></programlisting> </para> </section> - <section id="ugr.tools.tm.language.quantifier.mmr"> + <section id="ugr.tools.ruta.language.quantifier.mmr"> <title>[x,y]? Min Max Reluctant</title> <para> The Min Max Greedy quantifier has to match at least x and at most y Modified: uima/sandbox/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.language.syntax.xml URL: http://svn.apache.org/viewvc/uima/sandbox/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.language.syntax.xml?rev=1478042&r1=1478041&r2=1478042&view=diff ============================================================================== --- uima/sandbox/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.language.syntax.xml (original) +++ uima/sandbox/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.language.syntax.xml Wed May 1 15:04:01 2013 @@ -16,7 +16,7 @@ OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> -<section id="ugr.tools.tm.language.syntax"> +<section id="ugr.tools.ruta.language.syntax"> <title>Syntax</title> <para> Ruta defines its own language for writing rules and rule @@ -112,11 +112,11 @@ Actions -> "->" Action ( ]]></programlisting> Since each condition and each action has its own syntax, conditions and actions are described in their own section. For conditions see - <xref linkend='ugr.tools.tm.language.conditions' /> + <xref linkend='ugr.tools.ruta.language.conditions' /> , for actions see - <xref linkend='ugr.tools.tm.language.actions' />. + <xref linkend='ugr.tools.ruta.language.actions' />. The syntax of expressions is explained in - <xref linkend='ugr.tools.tm.language.expressions' />. + <xref linkend='ugr.tools.ruta.language.expressions' />. </para> <para> Identifier: Modified: uima/sandbox/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.language.xml URL: http://svn.apache.org/viewvc/uima/sandbox/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.language.xml?rev=1478042&r1=1478041&r2=1478042&view=diff ============================================================================== --- uima/sandbox/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.language.xml (original) +++ uima/sandbox/ruta/trunk/ruta-docbook/src/docbook/tools.ruta.language.xml Wed May 1 15:04:01 2013 @@ -24,7 +24,7 @@ specific language governing permissions under the License. --> -<chapter id="ugr.tools.tm.language.language"> +<chapter id="ugr.tools.ruta.language.language"> <title>Apache UIMA Ruta Language</title> <para> This chapter provides a complete description of the Apache UIMA Ruta @@ -48,7 +48,7 @@ under the License. href="tools.ruta.language.actions.xml" /> - <section id="ugr.tools.tm.language.filtering"> + <section id="ugr.tools.ruta.language.filtering"> <title>Robust extraction using filtering</title> <para> Rule based or pattern based information extraction systems often @@ -129,7 +129,7 @@ Dr.JoachimBaumeister </para> </section> - <section id="ugr.tools.tm.language.blocks"> + <section id="ugr.tools.ruta.language.blocks"> <title>Blocks</title> <para> Blocks combine some more complex control structures in the @@ -192,9 +192,9 @@ RuleElementWithCA -> TypeExpressio declaration. But a block may also be called from another position of the script. See - <xref linkend='ugr.tools.tm.language.blocks.procedure' /> + <xref linkend='ugr.tools.ruta.language.blocks.procedure' /> </para> - <section id="ugr.tools.tm.language.blocks.condition"> + <section id="ugr.tools.ruta.language.blocks.condition"> <title>Conditioned statements</title> <para> A block can use common Ruta conditions to condition the @@ -215,11 +215,11 @@ BLOCK(GermanDates) Document{FEATURE("lan } ]]></programlisting> The example is explained in detail in - <xref linkend='ugr.tools.tm.overview.examples' /> + <xref linkend='ugr.tools.ruta.overview.examples' /> . </para> </section> - <section id="ugr.tools.tm.language.blocks.foreach"> + <section id="ugr.tools.ruta.language.blocks.foreach"> <title> <quote>Foreach</quote> -Loops @@ -239,7 +239,7 @@ BLOCK(ForEach) Sentence{} { } ]]></programlisting> The example is explained in detail in - <xref linkend='ugr.tools.tm.overview.examples' /> + <xref linkend='ugr.tools.ruta.overview.examples' /> . </para> <para> @@ -290,7 +290,7 @@ BLOCK(IsBig) Paragraph{} { this is done for every Paragraph in the whole document. </para> </section> - <section id="ugr.tools.tm.language.blocks.procedure"> + <section id="ugr.tools.ruta.language.blocks.procedure"> <title>Procedures</title> <para> Blocks can be used to introduce procedures to the Ruta @@ -337,12 +337,12 @@ Document{->CALL(MyScript.countNumberOfTy of the script the block is defined in. In this example, the script is - called MyScript.tm. + called MyScript.ruta. </para> </section> </section> - <section id="ugr.tools.tm.language.score"> + <section id="ugr.tools.ruta.language.score"> <title>Heuristic extraction using scoring rules</title> <para> Diagnostic scores are a well known and successfully applied @@ -406,7 +406,7 @@ Headline{SCORE(5,10)->LOG("Maybe a headl points, respectively. </para> </section> - <section id="ugr.tools.tm.language.modification"> + <section id="ugr.tools.ruta.language.modification"> <title>Modification</title> <para> There are different actions that can modify the input document, @@ -418,7 +418,7 @@ Headline{SCORE(5,10)->LOG("Maybe a headl <para> The following example shows how to import and call the Modifier.xml engine. The example is explained in detail in - <xref linkend='ugr.tools.tm.overview.examples' />. + <xref linkend='ugr.tools.ruta.overview.examples' />. </para> <programlisting><![CDATA[ENGINE utils.Modifier; Date{-> DEL}; @@ -429,7 +429,7 @@ Document{-> EXEC(Modifier)}; </section> - <section id="ugr.tools.tm.language.external_resources"> + <section id="ugr.tools.ruta.language.external_resources"> <title>External resources</title> <para> Imagine you have a set of documents containing many different @@ -500,7 +500,7 @@ Document{->MARKFAST(FistName, FirstNameL resulting complexity is O(m*log(n)) instead of O(m*n) for simple text files. Here m is the amount of basic annotations in the document and n is the amount of entries in the dictionary. To generate a tree word - list, see <xref linkend='section.ugr.tools.tm.workbench.create_dictionaries' />. + list, see <xref linkend='section.ugr.tools.ruta.workbench.create_dictionaries' />. A tree word list is used in the same way as simple word lists, for example <literal>Document{->MARKFAST(FistName, "FirstNames.twl")};</literal>. </para> @@ -515,7 +515,7 @@ Document{->MARKFAST(FistName, FirstNameL times resulting in a complexity of 5*O(m*log(n)) With a multi tree word list this can be reduced to about O(m*log(5*n)). To generate a multi tree word list, see - <xref linkend='section.ugr.tools.tm.workbench.create_dictionaries' /> + <xref linkend='section.ugr.tools.ruta.workbench.create_dictionaries' /> To use a multi tree word list Ruta provides the action TRIE. If for example two word lists <quote>FirstNames.txt</quote> @@ -561,7 +561,7 @@ Document{->MARKTABLE(PresidentOfUSA, 1, </para> </section> </section> - <section id="ugr.tools.tm.language.regexprule"> + <section id="ugr.tools.ruta.language.regexprule"> <title>Simple Rules based on Regular Expressions</title> <para> The Ruta langugae includes, additionally to the normal rules, a simplified rule syntax for processing regular expressions.