You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Peter Klügl (JIRA)" <de...@uima.apache.org> on 2012/08/01 14:17:04 UTC

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

    [ 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