[
https://issues.apache.org/jira/browse/OPENNLP-1261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16862102#comment-16862102
]
Tim Allison commented on OPENNLP-1261:
--------------------------------------
Y, agreed, [~kkrugler]'s Yalder uses int hashing and a specialized int-to-int
map. Unless you want to dive in, I'm good enough with what we have for now,
esp. if the probing detector is accepted...
I didn't want to go too far down that road because it would likely break the
API, and I don't know how much flexibility you all have or want to make.
Thanks again!
> 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: Joern Kottmann
> Assignee: Joern Kottmann
> Priority: Major
> Attachments: langid_plus_minus_rollups.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
(v7.6.3#76005)