Hi,
yes there is hardly any documentation. The definition of annotation
variables is mentioned in the syntax section:
https://uima.apache.org/d/ruta-current/tools.ruta.book.html#ugr.tools.ruta.language.syntax
There are no examples in the documentation because there was no good
section to add it. I can add an example to the "Learning by example"
section.
Here's a short example from the unit test:
ANNOTATION a;
CW{-> ASSIGN(a, CW)};
a{-> T1};
W W{-> CREATE(Struct, \"a\"=a)};
Let me know if you need more information about annotation variables.
Best,
Peter
Am 18.07.2016 um 10:18 schrieb Silvestre Losada:
> HI All,
>
> UIMA-4657 <https://issues.apache.org/jira/browse/UIMA-4657> improvement
> has been implemented in ruta version 2.4.0. But I cannot see any
> documentation on how to use it on ruta documentation.
>
> Is there any example on how to use it?
>
> Thanks
>
|