Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 47187 invoked from network); 30 Jun 2006 20:22:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 Jun 2006 20:22:12 -0000 Received: (qmail 15452 invoked by uid 500); 30 Jun 2006 20:22:11 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 14930 invoked by uid 500); 30 Jun 2006 20:22:10 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 14919 invoked by uid 99); 30 Jun 2006 20:22:10 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Jun 2006 13:22:10 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Jun 2006 13:22:09 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 2DCBC410347 for ; Fri, 30 Jun 2006 20:20:30 +0000 (GMT) Message-ID: <32105924.1151698830169.JavaMail.jira@brutus> Date: Fri, 30 Jun 2006 20:20:30 +0000 (GMT+00:00) From: "Otis Gospodnetic (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Commented: (LUCENE-285) David Spencer Spell Checker improved MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/LUCENE-285?page=3Dcomments#actio= n_12418705 ]=20 Otis Gospodnetic commented on LUCENE-285: ----------------------------------------- Hi C=C3=A9drik. Yes, please open a new issue and attach the patch if you h= ave it. It looks like this would create a commons-lang dependency, in whic= h case the build script for the spell checker might need a small tweak, too= . > David Spencer Spell Checker improved > ------------------------------------ > > Key: LUCENE-285 > URL: http://issues.apache.org/jira/browse/LUCENE-285 > Project: Lucene - Java > Type: Improvement > Components: Search > Versions: unspecified > Environment: Operating System: other > Platform: All > Reporter: Nicolas Maisonneuve > Priority: Minor > Attachments: spellchecker.zip > > hy, > i developed a SpellChecker based on the David Spencer code (DSc) but more= flexible. > the structure of the index is inspired of the DSc (for a 3-4 gram): > word: > gram3: > gram4: > =20 > 3start: > 4start: > .. > 3end: > 4end: > .. > transposition: > =20 > This index is a dictonary so there isn't the "freq" field like with DSc v= ersion. > it's independant of the user index. So we can add words becoming to sever= al > fields of several index for example or, why not, to a file with a list of= words. > The suggestSimilar method return a list of suggests word sorted by the > Levenshtein distance and optionaly to the popularity of the word for a sp= ecific > field in a user index. More of that, this list can be restricted only to = words > present in a specific field of a user index. > =20 > See the test case. > =20 > i hope this code will be put in the lucene sandbox.=20 > =20 > Nicolas Maisonneuve --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org