vietc/engine/src/lib.rs
Devin AI 7569e7e218 feat: auto-restore English words and invalid Vietnamese syllables
When Vietnamese mode is on, the engine transformed every word including
English (test->tét, cargo->cảgo, status->státu). This wires up the
previously-dead english.rs dictionary and spelling.rs validator so that on
word commit, words that are clearly English or not phonologically valid
Vietnamese are reverted to the raw keystrokes typed. Genuine Vietnamese
(tiếng, việt, quả) is kept. Gated by the existing [auto_restore] enabled
config (default on).

Co-Authored-By: vndangkhoa <vonguyendangkhoa@gmail.com>
2026-06-26 10:31:37 +00:00

12 lines
187 B
Rust

mod bamboo;
mod engine;
mod english;
mod input_method;
pub mod spelling;
#[cfg(test)]
mod tests;
pub use engine::Engine;
pub use engine::EngineEvent;
pub use input_method::InputMethod;