mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-13 05:52:15 +00:00
- simple_word groups the prefix rules that leave the same root (circumfix and NEEDAFFIX alike) and answers them in one stem lookup, one chain walk and one suffix walk with all their flags (FlagProbe): 1,000 or 16,000 prefixes adding nothing no longer cost one walk each (h1.aff: 1.6 s → 17 ms per two words; 16k prefixes 22 s → 19 ms). - Deferred suggestion candidates are not looked up again before their compound check. - A word in capitals matches a mixed-case stem as a simple word only (`JQUERYKABEL`, `MSCFOO` wrong, as in the CLI). - to_bytes writes the flags only the kept-apart homonyms use (NEEDAFFIX beside a compound flag survives a round trip). - MAGIC WCAFF2: compact data from before homonyms were kept apart is refused. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FypgCX8LsYYE8fsj4byBm2