You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "Suneel Marthi (JIRA)" <ji...@apache.org> on 2017/02/21 23:25:44 UTC
[jira] [Assigned] (OPENNLP-993) DocumentCategorizerME does not load
tokenizer specified in model manifest
[ https://issues.apache.org/jira/browse/OPENNLP-993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Suneel Marthi reassigned OPENNLP-993:
-------------------------------------
Assignee: Suneel Marthi
> DocumentCategorizerME does not load tokenizer specified in model manifest
> -------------------------------------------------------------------------
>
> Key: OPENNLP-993
> URL: https://issues.apache.org/jira/browse/OPENNLP-993
> Project: OpenNLP
> Issue Type: Bug
> Components: Doccat
> Affects Versions: 1.7.1
> Reporter: Jonathan Ackerman
> Assignee: Suneel Marthi
> Fix For: 1.8.0
>
>
> DocumentCategorizerME no longer loads the tokenizer specified in the model manifest. Instead it always uses a WhitespaceTokenizer.
> This appears to due to a change in 1.7.1 where the constructors for the DoccatFactory were modified to create a WhitespaceTokenizer.
> This means the logic in the DoccatFactory.getTokenizer() method does try to load the tokenizer in model's manifest as "tokenizer" is not null when getTokenizer() is first called.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)