[
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