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>
12 lines
187 B
Rust
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;
|