[jira] [Commented] (UIMA-5776) Calling a UIMACPP engine causes rules on prior annotations to fail
[ https://issues.apache.org/jira/browse/UIMA-5776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17435817#comment-17435817 ] Peter Klügl commented on UIMA-5776: --- Sorry, I lost sight of this issue. Yes, can you validate if setting reindexUpdateMode parameter to COMPLETE fixes your problem? I will take a look when I find the time. > Calling a UIMACPP engine causes rules on prior annotations to fail > -- > > Key: UIMA-5776 > URL: https://issues.apache.org/jira/browse/UIMA-5776 > Project: UIMA > Issue Type: Bug > Components: C++ Framework, Ruta >Reporter: Benjamin De Boe >Assignee: Peter Klügl >Priority: Major > Attachments: Main.java > > > We're having trouble leveraging a UIMACPP engine from Ruta. Whereas the > ENGINE() call doesn't seem to throw any actual errors, some rules run > afterwards don't seem to get triggered correctly, even if they involve plain > Ruta annotations and none of the ones that (should) have been added by > UIMACPP. It doesn't matter whether or not we supply the third argument to > ENGINE() > > Here are a few tests that illustrate what we're seeing, leveraging the > example AE provided with UIMACPP called "DaveDetector" (you'll need to make > sure it's on your PATH to work). Each time, we should find at least one > occurrence of the "Test" annotation in the output. > The following scripts work: > {{DECLARE Test;}} > {{W\{->Test};}} > and > Document \{-> EXEC(DaveDetector)}; > {{DECLARE Test;}} > {{David\{->Test};}} > and > {{DECLARE Test;}} > {{W W\{->Test};}} > And this trivial one still works as well > {{Document \{-> EXEC(DaveDetector)}; }} > {{DECLARE Test;}} > {{W\{->Test};}} > But this one doesn't: > Document \{-> EXEC(DaveDetector)}; > {{DECLARE Test;}} > {{W W\{->Test};}} > > Also attaching a test Java script that runs through these in succession -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (UIMA-5776) Calling a UIMACPP engine causes rules on prior annotations to fail
[ https://issues.apache.org/jira/browse/UIMA-5776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17435339#comment-17435339 ] Richard Eckart de Castilho commented on UIMA-5776: -- Could the re-index feature that was recently added to Ruta have fixed this now? Even if it doesn't work automatically, I think it can be explicitly activated on the Ruta engine. [~pkluegl]? > Calling a UIMACPP engine causes rules on prior annotations to fail > -- > > Key: UIMA-5776 > URL: https://issues.apache.org/jira/browse/UIMA-5776 > Project: UIMA > Issue Type: Bug > Components: C++ Framework, Ruta >Reporter: Benjamin De Boe >Assignee: Peter Klügl >Priority: Major > Attachments: Main.java > > > We're having trouble leveraging a UIMACPP engine from Ruta. Whereas the > ENGINE() call doesn't seem to throw any actual errors, some rules run > afterwards don't seem to get triggered correctly, even if they involve plain > Ruta annotations and none of the ones that (should) have been added by > UIMACPP. It doesn't matter whether or not we supply the third argument to > ENGINE() > > Here are a few tests that illustrate what we're seeing, leveraging the > example AE provided with UIMACPP called "DaveDetector" (you'll need to make > sure it's on your PATH to work). Each time, we should find at least one > occurrence of the "Test" annotation in the output. > The following scripts work: > {{DECLARE Test;}} > {{W\{->Test};}} > and > Document \{-> EXEC(DaveDetector)}; > {{DECLARE Test;}} > {{David\{->Test};}} > and > {{DECLARE Test;}} > {{W W\{->Test};}} > And this trivial one still works as well > {{Document \{-> EXEC(DaveDetector)}; }} > {{DECLARE Test;}} > {{W\{->Test};}} > But this one doesn't: > Document \{-> EXEC(DaveDetector)}; > {{DECLARE Test;}} > {{W W\{->Test};}} > > Also attaching a test Java script that runs through these in succession -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (UIMA-5776) Calling a UIMACPP engine causes rules on prior annotations to fail
[ https://issues.apache.org/jira/browse/UIMA-5776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16478915#comment-16478915 ] Peter Klügl commented on UIMA-5776: --- Thanks, I will take a look at it. > Calling a UIMACPP engine causes rules on prior annotations to fail > -- > > Key: UIMA-5776 > URL: https://issues.apache.org/jira/browse/UIMA-5776 > Project: UIMA > Issue Type: Bug > Components: C++ Framework, Ruta >Reporter: Benjamin De Boe >Assignee: Peter Klügl >Priority: Major > Attachments: Main.java > > > We're having trouble leveraging a UIMACPP engine from Ruta. Whereas the > ENGINE() call doesn't seem to throw any actual errors, some rules run > afterwards don't seem to get triggered correctly, even if they involve plain > Ruta annotations and none of the ones that (should) have been added by > UIMACPP. It doesn't matter whether or not we supply the third argument to > ENGINE() > > Here are a few tests that illustrate what we're seeing, leveraging the > example AE provided with UIMACPP called "DaveDetector" (you'll need to make > sure it's on your PATH to work). Each time, we should find at least one > occurrence of the "Test" annotation in the output. > The following scripts work: > {{DECLARE Test;}} > {{W\{->Test};}} > and > Document \{-> EXEC(DaveDetector)}; > {{DECLARE Test;}} > {{David\{->Test};}} > and > {{DECLARE Test;}} > {{W W\{->Test};}} > And this trivial one still works as well > {{Document \{-> EXEC(DaveDetector)}; }} > {{DECLARE Test;}} > {{W\{->Test};}} > But this one doesn't: > Document \{-> EXEC(DaveDetector)}; > {{DECLARE Test;}} > {{W W\{->Test};}} > > Also attaching a test Java script that runs through these in succession -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (UIMA-5776) Calling a UIMACPP engine causes rules on prior annotations to fail
[ https://issues.apache.org/jira/browse/UIMA-5776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16478877#comment-16478877 ] Benjamin De Boe commented on UIMA-5776: --- Hi Peter, thanks for picking this up. This is the default UIMACPP annotator that comes with the base UIMACPP installation. You can download it [here|https://uima.apache.org/downloads.cgi#Apache%20UIMA%20Version%202.4.0] and then have to make sure the UIMACPP binaries are on your PATH for it to run. Note that UIMACPP is a bit behind and only at version 2.4, which may have to do with this issue on second thought. The issue does not reproduce with a Java AE. > Calling a UIMACPP engine causes rules on prior annotations to fail > -- > > Key: UIMA-5776 > URL: https://issues.apache.org/jira/browse/UIMA-5776 > Project: UIMA > Issue Type: Bug > Components: C++ Framework, Ruta >Reporter: Benjamin De Boe >Assignee: Peter Klügl >Priority: Major > Attachments: Main.java > > > We're having trouble leveraging a UIMACPP engine from Ruta. Whereas the > ENGINE() call doesn't seem to throw any actual errors, some rules run > afterwards don't seem to get triggered correctly, even if they involve plain > Ruta annotations and none of the ones that (should) have been added by > UIMACPP. It doesn't matter whether or not we supply the third argument to > ENGINE() > > Here are a few tests that illustrate what we're seeing, leveraging the > example AE provided with UIMACPP called "DaveDetector" (you'll need to make > sure it's on your PATH to work). Each time, we should find at least one > occurrence of the "Test" annotation in the output. > The following scripts work: > {{DECLARE Test;}} > {{W\{->Test};}} > and > Document \{-> EXEC(DaveDetector)}; > {{DECLARE Test;}} > {{David\{->Test};}} > and > {{DECLARE Test;}} > {{W W\{->Test};}} > And this trivial one still works as well > {{Document \{-> EXEC(DaveDetector)}; }} > {{DECLARE Test;}} > {{W\{->Test};}} > But this one doesn't: > Document \{-> EXEC(DaveDetector)}; > {{DECLARE Test;}} > {{W W\{->Test};}} > > Also attaching a test Java script that runs through these in succession -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (UIMA-5776) Calling a UIMACPP engine causes rules on prior annotations to fail
[ https://issues.apache.org/jira/browse/UIMA-5776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16478716#comment-16478716 ] Peter Klügl commented on UIMA-5776: --- Is this UIMACPP specific or can you reproduce it also with a Java AE? Can you maybe provide the/a UIMACPP annotator? (I haven't work with it yet) > Calling a UIMACPP engine causes rules on prior annotations to fail > -- > > Key: UIMA-5776 > URL: https://issues.apache.org/jira/browse/UIMA-5776 > Project: UIMA > Issue Type: Bug > Components: C++ Framework, Ruta >Reporter: Benjamin De Boe >Assignee: Peter Klügl >Priority: Major > Attachments: Main.java > > > We're having trouble leveraging a UIMACPP engine from Ruta. Whereas the > ENGINE() call doesn't seem to throw any actual errors, some rules run > afterwards don't seem to get triggered correctly, even if they involve plain > Ruta annotations and none of the ones that (should) have been added by > UIMACPP. It doesn't matter whether or not we supply the third argument to > ENGINE() > > Here are a few tests that illustrate what we're seeing, leveraging the > example AE provided with UIMACPP called "DaveDetector" (you'll need to make > sure it's on your PATH to work). Each time, we should find at least one > occurrence of the "Test" annotation in the output. > The following scripts work: > {{DECLARE Test;}} > {{W\{->Test};}} > and > Document \{-> EXEC(DaveDetector)}; > {{DECLARE Test;}} > {{David\{->Test};}} > and > {{DECLARE Test;}} > {{W W\{->Test};}} > And this trivial one still works as well > {{Document \{-> EXEC(DaveDetector)}; }} > {{DECLARE Test;}} > {{W\{->Test};}} > But this one doesn't: > Document \{-> EXEC(DaveDetector)}; > {{DECLARE Test;}} > {{W W\{->Test};}} > > Also attaching a test Java script that runs through these in succession -- This message was sent by Atlassian JIRA (v7.6.3#76005)