You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "Joern Kottmann (JIRA)" <ji...@apache.org> on 2014/01/03 14:59:51 UTC

[jira] [Updated] (OPENNLP-72) OpenNLP must work independent of the platform local

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

Joern Kottmann updated OPENNLP-72:
----------------------------------

    Fix Version/s: 1.6.0
         Assignee: Joern Kottmann

> OpenNLP must work independent of the platform local
> ---------------------------------------------------
>
>                 Key: OPENNLP-72
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-72
>             Project: OpenNLP
>          Issue Type: Bug
>            Reporter: Joern Kottmann
>            Assignee: Joern Kottmann
>             Fix For: 1.6.0
>
>
> The OpenNLP feature generation must produce the exact same results independent of the platform local.
> The feature generation code frequently uses String.toLowerCase() which depending on the local might
> produce different results, e.g. when used with a turkish local. That should of course not be the case,
> since the lower cased string will not match the feature which is in the statistical model and might not
> have been generated on a machine with a turkish local.
> Instead the method Characters.toLowerCase(...) should be used, because it is only using the UnicodeData file
> and cannot perform locale-sensitive mappings.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)