lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Otis Gospodnetic (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (LUCENE-1297) Allow other string distance measures in spellchecker
Date Wed, 18 Jun 2008 05:10:45 GMT

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

Otis Gospodnetic resolved LUCENE-1297.
--------------------------------------

       Resolution: Fixed
    Lucene Fields: [New, Patch Available]  (was: [Patch Available, New])

Committed, thanks Tom.

svn ci CHANGES.txt contrib/spellchecker
Sending        CHANGES.txt
Adding         contrib/spellchecker/src/java/org/apache/lucene/search/spell/JaroWinklerDistance.java
Sending        contrib/spellchecker/src/java/org/apache/lucene/search/spell/SpellChecker.java
Adding         contrib/spellchecker/src/java/org/apache/lucene/search/spell/StringDistance.java
Sending        contrib/spellchecker/src/java/org/apache/lucene/search/spell/TRStringDistance.java
Adding         contrib/spellchecker/src/test/org/apache/lucene/search/spell/TestJaroWinklerDistance.java
Adding         contrib/spellchecker/src/test/org/apache/lucene/search/spell/TestLevenshteinDistance.java
Sending        contrib/spellchecker/src/test/org/apache/lucene/search/spell/TestSpellChecker.java
Transmitting file data ........
Committed revision 669085.



Also:

$ svn ci contrib/spellchecker
Adding         contrib/spellchecker/src/java/org/apache/lucene/search/spell/LevensteinDistance.java
Sending        contrib/spellchecker/src/java/org/apache/lucene/search/spell/SpellChecker.java
Deleting       contrib/spellchecker/src/java/org/apache/lucene/search/spell/TRStringDistance.java
Sending        contrib/spellchecker/src/test/org/apache/lucene/search/spell/TestLevenshteinDistance.java
Transmitting file data ...
Committed revision 669086.


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


Mime
View raw message