You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2014/07/11 16:13:05 UTC

[jira] [Updated] (LUCENE-5817) hunspell buggy zero-affix handling

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

Robert Muir updated LUCENE-5817:
--------------------------------

    Attachment: LUCENE-5817.patch

patch with a simple test

> hunspell buggy zero-affix handling
> ----------------------------------
>
>                 Key: LUCENE-5817
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5817
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>         Attachments: LUCENE-5817.patch
>
>
> This only partially works today. But zero-affixes are used heavily by many dictionaries (e.g. i found a good number of bugs in czech and latvian just experimenting).
> The fix is easy: we just have to look for "0" in the affix portion as well as the strip portion, as indicated by the manual page:
> "Zero stripping or affix are indicated by zero."



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org