You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "Markus Jelsma (Jira)" <ji...@apache.org> on 2020/05/15 16:04:00 UTC
[jira] [Updated] (OPENNLP-1304) NullPointerException in
LemmatizerME
[ https://issues.apache.org/jira/browse/OPENNLP-1304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Markus Jelsma updated OPENNLP-1304:
-----------------------------------
Description:
In our unit tests we have a basic lemmatizer model for Japanese. The Lemmatizer throws:
{code:java}
java.lang.NullPointerException
at opennlp.tools.lemmatizer.LemmatizerME.predictSES(LemmatizerME.java:116)
at opennlp.tools.lemmatizer.LemmatizerME.lemmatize(LemmatizerME.java:91) {code}
for the following input:
{code:java}
tokens: デン, ・, ヘルデル
tags: PROPN, SYM, PROPN {code}
I attached the used lemmatizer model in case if needed.
was:
In our unit tests we have a basic lemmatizer model for Japanese. The Lemmatizer throws:
{code:java}
java.lang.NullPointerException
at opennlp.tools.lemmatizer.LemmatizerME.predictSES(LemmatizerME.java:116)
at opennlp.tools.lemmatizer.LemmatizerME.lemmatize(LemmatizerME.java:91) {code}
for the following input:
{code:java}
tokens: デン, ・, ヘルデル
tags: PROPN, SYM, PROPN {code}
> NullPointerException in LemmatizerME
> ------------------------------------
>
> Key: OPENNLP-1304
> URL: https://issues.apache.org/jira/browse/OPENNLP-1304
> Project: OpenNLP
> Issue Type: Bug
> Components: Lemmatizer
> Affects Versions: 1.9.2
> Reporter: Markus Jelsma
> Priority: Major
> Attachments: ja-lemma.bin
>
>
> In our unit tests we have a basic lemmatizer model for Japanese. The Lemmatizer throws:
> {code:java}
> java.lang.NullPointerException
> at opennlp.tools.lemmatizer.LemmatizerME.predictSES(LemmatizerME.java:116)
> at opennlp.tools.lemmatizer.LemmatizerME.lemmatize(LemmatizerME.java:91) {code}
> for the following input:
> {code:java}
> tokens: デン, ・, ヘルデル
> tags: PROPN, SYM, PROPN {code}
> I attached the used lemmatizer model in case if needed.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)