You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ctakes.apache.org by "Tim Miller (JIRA)" <ji...@apache.org> on 2013/04/08 21:55:15 UTC

[jira] [Commented] (CTAKES-184) srl gives NPE on one word sentences

    [ https://issues.apache.org/jira/browse/CTAKES-184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13625728#comment-13625728 ] 

Tim Miller commented on CTAKES-184:
-----------------------------------

quick fix checked in.
                
> srl gives NPE on one word sentences
> -----------------------------------
>
>                 Key: CTAKES-184
>                 URL: https://issues.apache.org/jira/browse/CTAKES-184
>             Project: cTAKES
>          Issue Type: Bug
>          Components: ctakes-dependency-parser
>            Reporter: Tim Miller
>            Assignee: Tim Miller
>
> Problem is that with a one-word sentence, the head node and the token node have the same span, and so using select* methods to get the token node sometimes return the head node, which will not have certain pieces of information.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira