Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 52937 invoked from network); 12 Jun 2008 17:13:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Jun 2008 17:13:08 -0000 Received: (qmail 49947 invoked by uid 500); 12 Jun 2008 17:13:08 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 49885 invoked by uid 500); 12 Jun 2008 17:13:08 -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 49876 invoked by uid 99); 12 Jun 2008 17:13:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jun 2008 10:13:08 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jun 2008 17:12:27 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3DD84234C13E for ; Thu, 12 Jun 2008 10:12:45 -0700 (PDT) Message-ID: <1991111835.1213290765252.JavaMail.jira@brutus> Date: Thu, 12 Jun 2008 10:12:45 -0700 (PDT) From: "Thomas Morton (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Updated: (LUCENE-1297) Allow other string distance measures in spellchecker In-Reply-To: <1147377758.1212173804959.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LUCENE-1297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Morton updated LUCENE-1297: ---------------------------------- Attachment: LUCENE-1297.patch Added tests for JaroWinkler and Levenshtein distances directly. Added getter/setter for JaroWinker threshold and javadoc. Moved class variables in Levenshtein into method to make it thread-safe. Named patch appropriately. > Allow other string distance measures in spellchecker > ---------------------------------------------------- > > Key: LUCENE-1297 > URL: https://issues.apache.org/jira/browse/LUCENE-1297 > Project: Lucene - Java > Issue Type: New Feature > Components: contrib/spellchecker > Affects Versions: 2.4 > Environment: n/a > Reporter: Thomas Morton > Assignee: Otis Gospodnetic > Priority: Minor > Fix For: 2.4 > > Attachments: LUCENE-1297.patch > > > Updated spelling code to allow for other string distance measures to be used. > Created StringDistance interface. > Modified existing Levenshtein distance measure to implement interface (and renamed class). > Verified that change to Levenshtein distance didn't impact runtime performance. > Implemented Jaro/Winkler distance metric > Modified SpellChecker to take distacne measure as in constructor or in set method and to use interface when calling. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org