# 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
  Interface | Description
  --- | ---
  DictEntries | An object representing homonym dictionary entries.

- Class Summary
  Class | Description
  --- | ---
  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
  Enum | Description
  --- | ---
  TimeoutPolicy | A strategy determining what to do when Hunspell API calls take too much time

- Exception Summary
  Exception | Description
  --- | ---
  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)

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