Does ferret have something similar to Google’s “did you mean”
functionality, or lucene’s SpellChecker?
What I’m really after isn’t so much a spell checker but a query improver
- something that might suggest synonyms, misspellings, etc.
We’re going to have a fair number of proper nouns (multicultural, and
including made-up product names), so a basic English dictionary spell
checker won’t be very useful. It’s definitely going to need to look at
the index to see what might be there that would better match a mistyped
query.
It looks like, worst case, I can use Ferret::Index::IndexReader to build
a dictionary to pass to another spell-checking library, but it’d be nice
to avoid that.
James M.
blog.restphone.com