lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luca Cavanna (JIRA)" <j...@apache.org>
Subject [jira] [Issue Comment Edited] (LUCENE-3976) Improve error messages for unsupported Hunspell formats
Date Mon, 07 May 2012 11:05:48 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-3976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13269520#comment-13269520
] 

Luca Cavanna edited comment on LUCENE-3976 at 5/7/12 11:03 AM:
---------------------------------------------------------------

The specific case of affix rule with less than 5 elements has been addressed in LUCENE-4019.
Please ignore my first patch here since it's related to that specific case which is now handled
in a different way in LUCENE-4019.
I'm looking into improving error messages anyway, possibly in a more generic way.
                
      was (Author: lucacavanna):
    The specific case of affix rule with less than 5 elements has been addressed in LUCENE-4019.
Please ignore my first patch here since it's related to that specific case which is now handled
in a different way in LUCENE-4019.
I'm looking into improve error messages anyway, in a more generic way if possible.
                  
> Improve error messages for unsupported Hunspell formats
> -------------------------------------------------------
>
>                 Key: LUCENE-3976
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3976
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: modules/analysis
>            Reporter: Chris Male
>         Attachments: LUCENE-3976.patch
>
>
> Our hunspell implementation is never going to be able to support the huge variety of
formats that are out there, especially since our impl is based on papers written on the topic
rather than being a pure port.
> Recently we ran into the following suffix rule:
> {noformat}SFX CA 0 /CaCp{noformat}
> Due to the missing regex conditional, an AOE was being thrown, which made it difficult
to diagnose the problem.
> We should instead try to provide better error messages showing what we were unable to
parse.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


Mime
View raw message