Module: Kotoshu::Algorithms::Lookup::CompoundChecks
- Included in:
- Lookuper
- Defined in:
- lib/kotoshu/algorithms/lookup/compound_checks.rb
Overview
The reasons a compound that parses correctly still has to be refused.
Splitting a word into dictionary members is only half the job. Every directive below describes a compound that decomposes cleanly and is still wrong: a seam that runs two capitals together, a spelling that is really one mistyped word, a pair of words someone forgot to space. Hunspell keeps these together in compound_check, and the order they run in is part of the port.
Mixed into Lookuper, which supplies @aff, @dic and #affix_forms_internal.