Files
Ryan Vogel a149464ac8 Android: filter keyboard candidates without rewriting typed words
Replace unconditional HXTM output with lookup-time flags for prefix and next-word suggestions, deterministic fixes, whole-word spatial readings, and both halves of missed spaces. Still use blocked words for probabilities, and keep a fully typed spelling (including out-of-model words) through space or a distinct literal chip. The Inter Keyboard switch enables profanity only; preference-aware caches refresh even in the active editor.

Verified 8 filter tests and 5 existing tests in each of debug and release, including every curated entry across the four layouts. Reproduced offensive suggestions and space replacements on the Studio API 35 IME before the change; after it, confirmed safe near-miss results, intentional literals, live toggle refresh, and light/dark settings. The 4,000-sentence phase-4 replay changed English WER from 7.4045% to 7.4117% and left Spanish at 10.3301%.
2026-11-20 13:02:31 -05:00
..