lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <>
Subject [jira] Updated: (LUCENE-2507) automaton spellchecker
Date Tue, 22 Jun 2010 06:11:56 GMT


Robert Muir updated LUCENE-2507:

    Attachment: LUCENE-2507.patch

there was a bug in conversion between fuzzy term enum's scaling.

i ran some simple perf tests, this is essentially just as fast as the existing code
with setMaxEdits(1). but with setMaxEdits(2) is much slower.

i'll try to think of ways to speed it up... one idea would be to add lev automata with transposition
support instead of using higher distances, etc.

> automaton spellchecker
> ----------------------
>                 Key: LUCENE-2507
>                 URL:
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: contrib/spellchecker
>            Reporter: Robert Muir
>             Fix For: 4.0
>         Attachments: LUCENE-2507.patch, LUCENE-2507.patch
> The current spellchecker makes an n-gram index of your terms, and queries this for spellchecking.
> The terms that come back from the n-gram query are then re-ranked by an algorithm such
as Levenshtein.
> Alternatively, we could just do a levenshtein query directly against the index, then
we wouldn't need
> a separate index to rebuild.

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:
For additional commands, e-mail:

View raw message