You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "Jeffrey T. Zemerick (Jira)" <ji...@apache.org> on 2019/12/27 01:02:45 UTC

[jira] [Issue Comment Deleted] (OPENNLP-1271) Illegal Argument Exception

     [ https://issues.apache.org/jira/browse/OPENNLP-1271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeffrey  T. Zemerick updated OPENNLP-1271:
------------------------------------------
    Comment: was deleted

(was: Simon Poortman
The Netherlands is crazy
If you are arrested, they will throw your psychiatry into (law mandatory GGZ) laws. I've already been through this 3 times and want to give them a court authorization for six months. to inject you with meds. GGZ with law BoPZ must be closed! I'm not in trouble. People straight into dishonor. What is this for a country police is totally crazy. War is perhaps the only solution who helps me that this doesn't have to happen? War is just what should democracy in the Union for the Benelux 1 bundesland make netherlands Belgium Luxembourg and new law and care sisteem care this no longer paid help me with it!!)

> Illegal Argument Exception
> --------------------------
>
>                 Key: OPENNLP-1271
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-1271
>             Project: OpenNLP
>          Issue Type: Bug
>          Components: Name Finder
>            Reporter: Raza Abbas
>            Priority: Major
>
> I am using this library in some production code. I am getting the following exception once in a while, so I am not being able to reproduce it exactly always. 
>  
> java.lang.IllegalArgumentException: The span [18..23) is outside the given text which has length 12!
> at opennlp.tools.util.Span.getCoveredText(Span.java:231)
> at opennlp.tools.util.Span.spansToStrings(Span.java:351)
> at opennlp.tools.tokenize.AbstractTokenizer.tokenize(AbstractTokenizer.java:25)
> at opennlp.tools.tokenize.TokenizerME.tokenize(TokenizerME.java:76)
>  
>  
> This seems like an internal OpenNLP issue, and not how I'm using the library. Any help would be appreciated. Thanks. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)