Hi,

yes, I can suggest some refactored rules.

However, I do not know the common input data and the use cases. It is easier for me if I have a few representative input snippets I can test the refactored rules against. Can you provide some (artifical) example text snippets?


Best


Peter


Am 04.08.2022 um 11:33 schrieb Md Azaz Ali:
Hi Dr. Peter Klügl,


1. We are not able to upgrade to Ruta 3.x because we have to upgrade uimaj-core also and to do that we need an stable version of cleartk-ml (which is not working with uima 3.x).

2. using PARAM_MAX_RULE_MATCHES , PARAM_MAX_RULE_ELEMENT_MATCHES we are not sure what numer will be good enough.

3. if possible can you please suggest an improved version for above script it will really help.

4. Also getting a new build from main-v2 is also not possible because we can only use ga versions which are available directly in mvn repository

I am attaching one script file if you can suggest the possible improvements it will be really helpful.

Note: I am new to ruta and these ruta scripts are written by old developers in my company who are not associated with the company any more.

Many Thanks


On Tue, Aug 2, 2022 at 8:35 PM Peter Klügl <peter.klu...@averbis.com> wrote:

    Hi,


    thanks for the pointer. I added an answer.

    Let me know if you want to have more information about the rule
    refactoring.


    In my experience, the life of a Ruta rule engineer is much easier
    if the
    Ruta rules stay small :-)


    Best,


    Peter


    Am 31.07.2022 um 21:09 schrieb Md Azaz Ali:
    >
    
https://stackoverflow.com/questions/73147822/getting-oom-issue-while-running-ruta-script-with-large-texts
    >
    >
    >
    > Many Thanks
    >
-- Dr. Peter Klügl
    Head of Text Mining/Machine Learning

    Averbis GmbH
    Salzstr. 15
    79098 Freiburg
    Germany

    Fon: +49 761 708 394 0
    Fax: +49 761 708 394 10
    Email: peter.klu...@averbis.com
    Web: https://averbis.com

    Headquarters: Freiburg im Breisgau
    Register Court: Amtsgericht Freiburg im Breisgau, HRB 701080
    Managing Directors: Dr. med. Philipp Daumke, Dr. Kornél Markó

--
Dr. Peter Klügl
Head of Text Mining/Machine Learning

Averbis GmbH
Salzstr. 15
79098 Freiburg
Germany

Fon: +49 761 708 394 0
Fax: +49 761 708 394 10
Email:peter.klu...@averbis.com
Web:https://averbis.com

Headquarters: Freiburg im Breisgau
Register Court: Amtsgericht Freiburg im Breisgau, HRB 701080
Managing Directors: Dr. med. Philipp Daumke, Dr. Kornél Markó

Reply via email to