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/22 01:08:39 UTC

[jira] [Updated] (LUCENE-5840) hunspell zero-affix handling doesn't work with continuation classes

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

Robert Muir updated LUCENE-5840:
--------------------------------

    Attachment: LUCENE-5840.patch

Simple patch. just move the zero affix handling after the parsing.

> hunspell zero-affix handling doesn't work with continuation classes
> -------------------------------------------------------------------
>
>                 Key: LUCENE-5840
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5840
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>         Attachments: LUCENE-5840.patch
>
>
> We fixed handling for this in LUCENE-5817, for the simple case:
> {noformat}
> SFX 322 eer 0 .
> {noformat}
> But its broken in the case the zero affix has continuation flags:
> {noformat}
> SFX 322 eer 0/100 .
> {noformat}
> Because we look for "0" before we parse those away...



--
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