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 03:01:59 GMT


Robert Muir updated LUCENE-2507:

    Attachment: LUCENE-2507.patch

prototype patch that adds 'DirectSpellChecker', with some tests showing use with IndexWriter.getReader()

For now I only implemented Levenshtein, since its for free :) But it would be good to support
re-ranking against the existing StringDistance metrics, etc.

The larger problem is that the existing APIs are really built around this idea of a separate
index, so I'm open to suggestions as to how this can be better integrated.

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