Uses of Class org.apache.lucene.analysis.hunspell.NGramFragmentChecker (Lucene 10.5.0 common API)
Description: use: package: org.apache.lucene.analysis.hunspell, class: NGramFragmentChecker

# Uses of Class
org.apache.lucene.analysis.hunspell.NGramFragmentChecker

Packages that use NGramFragmentChecker
Package
Description
org.apache.lucene.analysis.hunspell
A Java implementation of Hunspell stemming and spell-checking algorithms (`Hunspell`), and a stemming TokenFilter (`HunspellStemFilter`) based on it.

- ## Uses of NGramFragmentChecker in org.apache.lucene.analysis.hunspell

  Methods in org.apache.lucene.analysis.hunspell that return NGramFragmentChecker
  Modifier and Type
  Method
  Description
  `static NGramFragmentChecker`
  NGramFragmentChecker.`fromAllSimpleWords(int n, Dictionary dictionary, Runnable checkCanceled)`
  Iterate the whole dictionary, derive all word forms (using `WordFormGenerator`), vary the case to get all words acceptable by the spellchecker, and create a fragment checker based on their `n`-grams.
  `static NGramFragmentChecker`
  NGramFragmentChecker.`fromWords(int n, Collection<? extends CharSequence> words)`
  Create a fragment checker for n-grams found in the given words.