Thanks Peter.
That works for most cases, but, if we need to call sub-scripts recursively
(using something like {->CALL(ASPECIALSCRIPT)}), it seems difficult to detect
the ending of document in the script ASPECIALSCRIPT.
Kind regards,
Baoli
On 7/26/2019 18:27,Peter Klügl wrote:
Hi,
there a
Hi,
there are no special language elements for this. Howver, there are many
other ways to do this (efficiently).
You could for example create an annotation on the last part of the
document with MARKLAST and then use that nnoation as a starting anchor
"@" in an additional rule.
Best,
Peter
Hi All,
I would like to match patterns back from the end of an input string, which may
not end at SENTENCEEND. I am wondering whether there are some special tokens
like "^" and "$" in normal regular expression in RUTA.
Thanks in advance,
Baoli
Hi,
there are many ways to do that, one being the rules in your example. Do
the rules not work for you?
I just tested the following and got only one EntityType annotation.
Input:
The policy number is 1A-AB12345-PAD.
The policy number is 1A-AB12345-PAN.
Script:
PACKAGE uima.example;
DECLA
Hi,
yes, you need to activate the configuration parameter profile and
statistics, together with debug and maybe debugWithMatches. How to do
that depends on how you execute your Ruta script.
If you integrate the Ruta script directly in an UIMA pipeline, then you
need to set 3-5 configuration par