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/07/30 23:25:36 UTC

[jira] [Created] (UIMA-2448) POSITION context-sensitive?

Philipp Daumke created UIMA-2448:
------------------------------------

             Summary: POSITION context-sensitive?
                 Key: UIMA-2448
                 URL: https://issues.apache.org/jira/browse/UIMA-2448
             Project: UIMA
          Issue Type: Bug
            Reporter: Philipp Daumke


Hi Peter,

shouldn't POSITION BE context sensitive? In the following example I'd expect that it only considers Keywords when looking for the second position in paragraph, but it seems like all annotations within the paragraph are considered.

Keyword{POSITION(Paragraph,2)->MARK(SecondKeyword)};

Best 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-2448) POSITION context-sensitive?

Posted by "Marshall Schor (JIRA)" <de...@uima.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-2448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13425297#comment-13425297 ] 

Marshall Schor commented on UIMA-2448:
--------------------------------------

Hi Philipp - what UIMA project/component is this Jira for?
                
> POSITION context-sensitive?
> ---------------------------
>
>                 Key: UIMA-2448
>                 URL: https://issues.apache.org/jira/browse/UIMA-2448
>             Project: UIMA
>          Issue Type: Bug
>            Reporter: Philipp Daumke
>
> Hi Peter,
> shouldn't POSITION BE context sensitive? In the following example I'd expect that it only considers Keywords when looking for the second position in paragraph, but it seems like all annotations within the paragraph are considered.
> Keyword{POSITION(Paragraph,2)->MARK(SecondKeyword)};
> Best 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] [Updated] (UIMA-2448) POSITION context-sensitive?

Posted by "Philipp Daumke (JIRA)" <de...@uima.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-2448?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Philipp Daumke updated UIMA-2448:
---------------------------------

    Priority: Minor  (was: Major)
    
> POSITION context-sensitive?
> ---------------------------
>
>                 Key: UIMA-2448
>                 URL: https://issues.apache.org/jira/browse/UIMA-2448
>             Project: UIMA
>          Issue Type: Bug
>          Components: TextMarker
>            Reporter: Philipp Daumke
>            Priority: Minor
>
> Hi Peter,
> shouldn't POSITION BE context sensitive? In the following example I'd expect that it only considers Keywords when looking for the second position in paragraph, but it seems like all annotations within the paragraph are considered.
> Keyword{POSITION(Paragraph,2)->MARK(SecondKeyword)};
> Best 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-2448) POSITION context-sensitive?

Posted by "Peter Klügl (JIRA)" <de...@uima.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-2448?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Klügl reassigned UIMA-2448:
---------------------------------

    Assignee: Peter Klügl
    
> POSITION context-sensitive?
> ---------------------------
>
>                 Key: UIMA-2448
>                 URL: https://issues.apache.org/jira/browse/UIMA-2448
>             Project: UIMA
>          Issue Type: Bug
>          Components: TextMarker
>            Reporter: Philipp Daumke
>            Assignee: Peter Klügl
>            Priority: Minor
>
> Hi Peter,
> shouldn't POSITION BE context sensitive? In the following example I'd expect that it only considers Keywords when looking for the second position in paragraph, but it seems like all annotations within the paragraph are considered.
> Keyword{POSITION(Paragraph,2)->MARK(SecondKeyword)};
> Best 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-2448) POSITION context-sensitive?

Posted by "Philipp Daumke (JIRA)" <de...@uima.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-2448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13426915#comment-13426915 ] 

Philipp Daumke commented on UIMA-2448:
--------------------------------------

How to test? Where do I find the new resources?
                
> POSITION context-sensitive?
> ---------------------------
>
>                 Key: UIMA-2448
>                 URL: https://issues.apache.org/jira/browse/UIMA-2448
>             Project: UIMA
>          Issue Type: Bug
>          Components: TextMarker
>            Reporter: Philipp Daumke
>            Assignee: Peter Klügl
>            Priority: Minor
>
> Hi Peter,
> shouldn't POSITION BE context sensitive? In the following example I'd expect that it only considers Keywords when looking for the second position in paragraph, but it seems like all annotations within the paragraph are considered.
> Keyword{POSITION(Paragraph,2)->MARK(SecondKeyword)};
> Best 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-2448) POSITION context-sensitive?

Posted by "Peter Klügl (JIRA)" <de...@uima.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-2448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13427191#comment-13427191 ] 

Peter Klügl commented on UIMA-2448:
-----------------------------------

The common way to test it would be to check out the sources from the sandbox, build the TextMarker projects and either test it in a code snippet or in the IDE.
                
> POSITION context-sensitive?
> ---------------------------
>
>                 Key: UIMA-2448
>                 URL: https://issues.apache.org/jira/browse/UIMA-2448
>             Project: UIMA
>          Issue Type: Bug
>          Components: TextMarker
>            Reporter: Philipp Daumke
>            Assignee: Peter Klügl
>            Priority: Minor
>
> Hi Peter,
> shouldn't POSITION BE context sensitive? In the following example I'd expect that it only considers Keywords when looking for the second position in paragraph, but it seems like all annotations within the paragraph are considered.
> Keyword{POSITION(Paragraph,2)->MARK(SecondKeyword)};
> Best 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-2448) POSITION context-sensitive?

Posted by "Peter Klügl (JIRA)" <de...@uima.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-2448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13426552#comment-13426552 ] 

Peter Klügl commented on UIMA-2448:
-----------------------------------

Sorry, the documentation is wrong. The POSITION condition checks right now whether the matched annotation starts with the n-th minimal partition (token) within the given context. I will add an additional parameter for matching relatively to the occurrence as the documentation mentions and I will fix the documentation. 
                
> POSITION context-sensitive?
> ---------------------------
>
>                 Key: UIMA-2448
>                 URL: https://issues.apache.org/jira/browse/UIMA-2448
>             Project: UIMA
>          Issue Type: Bug
>          Components: TextMarker
>            Reporter: Philipp Daumke
>            Assignee: Peter Klügl
>            Priority: Minor
>
> Hi Peter,
> shouldn't POSITION BE context sensitive? In the following example I'd expect that it only considers Keywords when looking for the second position in paragraph, but it seems like all annotations within the paragraph are considered.
> Keyword{POSITION(Paragraph,2)->MARK(SecondKeyword)};
> Best 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-2448) POSITION context-sensitive?

Posted by "Peter Klügl (JIRA)" <de...@uima.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-2448?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Klügl resolved UIMA-2448.
-------------------------------

    Resolution: Fixed

fixed and test added. Philipp, can you close the issue, if the changes work for you?
                
> POSITION context-sensitive?
> ---------------------------
>
>                 Key: UIMA-2448
>                 URL: https://issues.apache.org/jira/browse/UIMA-2448
>             Project: UIMA
>          Issue Type: Bug
>          Components: TextMarker
>            Reporter: Philipp Daumke
>            Assignee: Peter Klügl
>            Priority: Minor
>
> Hi Peter,
> shouldn't POSITION BE context sensitive? In the following example I'd expect that it only considers Keywords when looking for the second position in paragraph, but it seems like all annotations within the paragraph are considered.
> Keyword{POSITION(Paragraph,2)->MARK(SecondKeyword)};
> Best 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] [Updated] (UIMA-2448) POSITION context-sensitive?

Posted by "Philipp Daumke (JIRA)" <de...@uima.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-2448?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Philipp Daumke updated UIMA-2448:
---------------------------------

    Component/s: TextMarker
    
> POSITION context-sensitive?
> ---------------------------
>
>                 Key: UIMA-2448
>                 URL: https://issues.apache.org/jira/browse/UIMA-2448
>             Project: UIMA
>          Issue Type: Bug
>          Components: TextMarker
>            Reporter: Philipp Daumke
>
> Hi Peter,
> shouldn't POSITION BE context sensitive? In the following example I'd expect that it only considers Keywords when looking for the second position in paragraph, but it seems like all annotations within the paragraph are considered.
> Keyword{POSITION(Paragraph,2)->MARK(SecondKeyword)};
> Best 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