lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Miller (Commented) (JIRA)" <>
Subject [jira] [Commented] (LUCENE-3662) extend LevenshteinAutomata to support transpositions as primitive edits
Date Mon, 26 Dec 2011 01:14:30 GMT


Mark Miller commented on LUCENE-3662:

Sweet. I'd estimate many beers.
> extend LevenshteinAutomata to support transpositions as primitive edits
> -----------------------------------------------------------------------
>                 Key: LUCENE-3662
>                 URL:
>             Project: Lucene - Java
>          Issue Type: New Feature
>    Affects Versions: 4.0
>            Reporter: Robert Muir
>         Attachments: LUCENE-3662.patch, LUCENE-3662.patch, LUCENE-3662.patch, LUCENE-3662.patch,
LUCENE-3662_upgrade_moman.patch, lev1.rev115.txt, lev1.rev119.txt, lev1t.txt, update-moman.patch
> This would be a nice improvement for spell correction: currently a transposition counts
as 2 edits,
> which means users of DirectSpellChecker must use larger values of n (e.g. 2 instead of
1) and 
> larger priority queue sizes, plus some sort of re-ranking with another distance measure
for good results.
> Instead if we can integrate "chapter 7" of

> then you can just build an alternative DFA where a transposition is only a single edit

> (
> According to the benchmarks in the original paper, the performance for LevT looks to
be very similar to Lev.
> Support for this is now in moman ( thanks to
> Barrette-LaPierre.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message