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:

  • Lookup::Lookuper: word correctness checking with affix support
  • Suggest::Suggester: main suggestion orchestration
  • Permutations: edit-distance permutations
  • NgramSuggest: n-gram based suggestion algorithm
  • PhonetSuggest: phonetic suggestion algorithm
  • Capitalization: capitalization handling

Defined Under Namespace

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