Module: Kotoshu::Algorithms

Defined in:
lib/kotoshu/algorithms.rb,
lib/kotoshu/algorithms/lookup.rb,
lib/kotoshu/algorithms/suggest.rb,
lib/kotoshu/algorithms/permutations.rb,
lib/kotoshu/algorithms/ngram_suggest.rb,
lib/kotoshu/algorithms/capitalization.rb,
lib/kotoshu/algorithms/phonet_suggest.rb

Overview

Algorithms namespace for spell checking algorithms.

Contains the core algorithms ported from Spylls:

  • NgramSuggest: N-gram based suggestion algorithm

  • Lookup: Word correctness checking with affix support (TODO)

  • Suggest: Main suggestion orchestration (TODO)

These are the core Hunspell algorithms that make spell checking work.

Defined Under Namespace

Modules: Capitalization, Lookup, NgramSuggest, Permutations, PhonetSuggest, Suggest