lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LUCENE-5483) hunspell inaccuracies
Date Sat, 01 Mar 2014 22:50:19 GMT
Robert Muir created LUCENE-5483:
-----------------------------------

             Summary: hunspell inaccuracies
                 Key: LUCENE-5483
                 URL: https://issues.apache.org/jira/browse/LUCENE-5483
             Project: Lucene - Core
          Issue Type: Bug
            Reporter: Robert Muir


I added a lot of tests and greatly refined this algorithm to match correct hunspell behavior.
there were many bugs:

* recursionLimit was a hack: this is actually specified by the dictionary to be twofold suffix
+ one prefix, or if COMPLEXPREFIXES is specified, twofold prefix + one suffix. This patch
removes cursion limit
* recursion didn't work correctly: it didnt validate multi-level continuation classes correctly.
* add COMPLEXPREFIXES support.
* probably other minor bugs fixed in the process.

I validated all testing against hunspell



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

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


Mime
View raw message