Suggest alternate spellings for words.


Interface Summary
Dictionary A simple interface representing a Dictionary.
SortedIterator Marker interface to signal that elements coming from Iterator come in ascending lexicographic order.
StringDistance Interface for string distances.

Class Summary
HighFrequencyDictionary HighFrequencyDictionary: terms taken from the given field of a Lucene index, which appear in a number of documents above a given threshold.
LevensteinDistance Levenstein edit distance class.
LuceneDictionary Lucene Dictionary: terms taken from the given field of a Lucene index.
NGramDistance N-Gram version of edit distance based on paper by Grzegorz Kondrak, "N-gram similarity and distance".
PlainTextDictionary Dictionary represented by a text file.
SpellChecker Spell Checker class (Main class)
(initially inspired by the David Spencer code).
SuggestWord SuggestWord, used in suggestSimilar method in SpellChecker class.
SuggestWordFrequencyComparator Frequency first, then score.
SuggestWordQueue Sorts SuggestWord instances
SuggestWordScoreComparator Score first, then frequency

Enum Summary
SuggestMode Set of strategies for suggesting related terms

Package Description

Suggest alternate spellings for words. Also see the spell checker Wiki page.

Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.