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 2020/01/25 00:43:00 UTC

[jira] [Closed] (OPENNLP-1261) Language Detector fails to predict language on long input texts

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

Suneel Marthi closed OPENNLP-1261.
----------------------------------

> Language Detector fails to predict language on long input texts
> ---------------------------------------------------------------
>
>                 Key: OPENNLP-1261
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-1261
>             Project: OpenNLP
>          Issue Type: Improvement
>          Components: Language Detector
>            Reporter: Jörn Kottmann
>            Assignee: Jörn Kottmann
>            Priority: Major
>             Fix For: 1.9.3
>
>         Attachments: langid_plus_minus_rollups.zip, leipzig_1000-sents.zip, opennlp_as_is_vs_1261.zip
>
>
> If the input text is very long, e.g. 100k chars, then the lang detect component fails to detect the language correctly, even though the text is only written in one language.
> This issue was tracked down to the context generator, where the count of the ngrams are ignored.



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