You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Philipp Daumke (JIRA)" <de...@uima.apache.org> on 2012/08/01 23:22:02 UTC
[jira] [Created] (UIMA-2450) MARK using Question Greedy quantifier
Philipp Daumke created UIMA-2450:
------------------------------------
Summary: MARK using Question Greedy quantifier
Key: UIMA-2450
URL: https://issues.apache.org/jira/browse/UIMA-2450
Project: UIMA
Issue Type: Bug
Components: TextMarker
Reporter: Philipp Daumke
Priority: Minor
Hi Peter,
guess you have the following file:
1-0-0
1 0 0
the following rule works fine for both:
NUM "-"? NUM "-"? NUM{->MARK(Freq, 1, 5)};
the following rule also seems to work fine according to the Explain function, but only the first number ("1") is annotated in both lines.
NUM "-"? NUM "-"? NUM "-"?{->MARK(MedicationFreq, 1, 6)};
It seems that the expression doesn't like the last question mark before the "{->MARK"
Regards
Philipp
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (UIMA-2450) MARK using Question Greedy quantifier
Posted by "Peter Klügl (JIRA)" <de...@uima.apache.org>.
[ https://issues.apache.org/jira/browse/UIMA-2450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Klügl reassigned UIMA-2450:
---------------------------------
Assignee: Peter Klügl
> MARK using Question Greedy quantifier
> -------------------------------------
>
> Key: UIMA-2450
> URL: https://issues.apache.org/jira/browse/UIMA-2450
> Project: UIMA
> Issue Type: Bug
> Components: TextMarker
> Reporter: Philipp Daumke
> Assignee: Peter Klügl
> Priority: Minor
>
> Hi Peter,
> guess you have the following file:
> 1-0-0
> 1 0 0
> the following rule works fine for both:
> NUM "-"? NUM "-"? NUM{->MARK(Freq, 1, 5)};
> the following rule also seems to work fine according to the Explain function, but only the first number ("1") is annotated in both lines.
> NUM "-"? NUM "-"? NUM "-"?{->MARK(MedicationFreq, 1, 6)};
> It seems that the expression doesn't like the last question mark before the "{->MARK"
> Regards
> Philipp
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (UIMA-2450) MARK using Question Greedy quantifier
Posted by "Peter Klügl (JIRA)" <de...@uima.apache.org>.
[ https://issues.apache.org/jira/browse/UIMA-2450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Klügl resolved UIMA-2450.
-------------------------------
Resolution: Fixed
fixed
> MARK using Question Greedy quantifier
> -------------------------------------
>
> Key: UIMA-2450
> URL: https://issues.apache.org/jira/browse/UIMA-2450
> Project: UIMA
> Issue Type: Bug
> Components: TextMarker
> Reporter: Philipp Daumke
> Assignee: Peter Klügl
> Priority: Minor
>
> Hi Peter,
> guess you have the following file:
> 1-0-0
> 1 0 0
> the following rule works fine for both:
> NUM "-"? NUM "-"? NUM{->MARK(Freq, 1, 5)};
> the following rule also seems to work fine according to the Explain function, but only the first number ("1") is annotated in both lines.
> NUM "-"? NUM "-"? NUM "-"?{->MARK(MedicationFreq, 1, 6)};
> It seems that the expression doesn't like the last question mark before the "{->MARK"
> Regards
> Philipp
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (UIMA-2450) MARK using Question Greedy
quantifier
Posted by "Peter Klügl (JIRA)" <de...@uima.apache.org>.
[ https://issues.apache.org/jira/browse/UIMA-2450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13428106#comment-13428106 ]
Peter Klügl commented on UIMA-2450:
-----------------------------------
Yes, this is a bug. When there is no match for the last optional rule element, the target span for the new annotation is not correctly calculated.
> MARK using Question Greedy quantifier
> -------------------------------------
>
> Key: UIMA-2450
> URL: https://issues.apache.org/jira/browse/UIMA-2450
> Project: UIMA
> Issue Type: Bug
> Components: TextMarker
> Reporter: Philipp Daumke
> Priority: Minor
>
> Hi Peter,
> guess you have the following file:
> 1-0-0
> 1 0 0
> the following rule works fine for both:
> NUM "-"? NUM "-"? NUM{->MARK(Freq, 1, 5)};
> the following rule also seems to work fine according to the Explain function, but only the first number ("1") is annotated in both lines.
> NUM "-"? NUM "-"? NUM "-"?{->MARK(MedicationFreq, 1, 6)};
> It seems that the expression doesn't like the last question mark before the "{->MARK"
> Regards
> Philipp
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira