mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-14 06:22:24 +00:00
The language-independent spelling mechanism from WordCraft's wordcraft-proof (storytold/craft-libs#30): the affix engine (AffixDict, with its compact serialized form), finding and loading an installed Hunspell .aff/.dic pair, and BCP 47 tag normalization. What was WordCraft policy is now a parameter: hunspell::Search carries the app's dictionaries-folder setting, its environment variable and its Windows folder name, instead of a global and hard-coded WordCraft names. Which languages an app proofs, suggestion ranking, grammar rules and user dictionaries stay in the apps. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>