# Package org.apache.lucene.analysis.hunspell

A Java implementation of Hunspell stemming and spell-checking algorithms (`Hunspell`), and a stemming TokenFilter (`HunspellStemFilter`) based on it.

See: Description

Interface Summary
DictEntries: An object representing homonym dictionary entries.

Class Summary
Dictionary: In-memory structure for the dictionary (.dic) and affix (.aff) data of a hunspell dictionary.
Hunspell: A spell checker based on Hunspell dictionaries.
HunspellStemFilter: TokenFilter that uses hunspell affix rules and words to stem tokens.
HunspellStemFilterFactory: TokenFilterFactory that creates instances of `HunspellStemFilter`.

Enum Summary
TimeoutPolicy: A strategy determining what to do when Hunspell API calls take too much time

Exception Summary
SuggestionTimeoutException: An exception thrown when `Hunspell.suggest(java.lang.String)` call takes too long, if `TimeoutPolicy.THROW_EXCEPTION` is used.

## Package org.apache.lucene.analysis.hunspell Description

A Java implementation of Hunspell stemming and spell-checking algorithms (`Hunspell`), and a stemming TokenFilter (`HunspellStemFilter`) based on it.

For dictionaries, see e.g. LibreOffice repository or Titus Wormer's collection (UTF)