01 · Statistical IMEs
Fast, yet blind to context
Traditional dictionary IMEs score phrases in isolation. Without reading your preceding sentences or domain terms, homophone mistakes keep interrupting your flow.
Fast lookup · Blind to preceding text
v0.1.0 · On-device local LLM · Open source
A 39.2 MB local LLM that reads your sentence on device. 97.8% first-choice accuracy with zero cloud exposure.
macOS (Apple Silicon)Ubuntu Linux (IBus)
01 — Why Soh
01 · Statistical IMEs
Traditional dictionary IMEs score phrases in isolation. Without reading your preceding sentences or domain terms, homophone mistakes keep interrupting your flow.
Fast lookup · Blind to preceding text
02 · Cloud AI & Pure LLMs
Cloud AI sends private writing and code prompts off-device. Pure generative LLMs also take hundreds of milliseconds to seconds and can hallucinate kanji that ignore your typed reading.
Context-aware · Cloud risk & latency
03 · 39.2 MB Local LLM · 15.4 ms
A 39.2 MB on-device LLM scores context entirely inside your silicon while a Rust lattice constrains top-8 paths to your exact reading (99.7% Oracle@8) — 97.8% accuracy in 15.4 ms, zero network.
Local LLM · 0 B network · 0 drift
97.8%
Apple M2 Max · 2,358 live conversions · 0 anomalies · zero personal learning
Work Context · n=40
92.5%
vs Apple 60.0% · Google 40.0%
37/40 · 15/15 ephemeral vocab
General Japanese · n=573
98.1%
vs Apple 90.6% · Google 78.7%
562/573 · CER 0.0027 (~15× lower than Google)
Colloquial · n=50
98.0%
vs Apple 98.0% · Google 82.0%
49/50 · CER 0.0017 (half Apple’s CER)
Adversarial Context · n=30
93.3%
vs Apple 90.0% · Google 80.0%
28/30 · 96.7% non-pollution
Latency tradeoff: statistical-only Google IME is faster on raw Space (3.2–4.7 ms vs Soh’s 15.4–18.8 ms active E2E on M2 Max / 19.1 ms on Ubuntu Ryzen 9 5950X).
Preceding context
月面探査の記録。持ち帰った
6 other candidates compared together
01 · 0.33 ms
Extracts top-8 candidate paths constrained strictly to your typed reading (99.7% Oracle@8) plus 2.6 KB of morphosyntactic rules — zero invented readings.
02 · 39.2 MB
Encodes up to 48 preceding paragraph characters once and scores all eight candidates together, skipping shared lm_head compute with < 1e-4 parity.
03 · 15.4 ms
Runs Apple Accelerate (cblas_sgemm / vDSP) on macOS with P-core QoS, and OpenBLAS (19.1 ms) or zero-dependency AVX2+FMA on Ubuntu Linux.
04 · 35 C ABI
One #![forbid(unsafe_code)] Rust core powers both Swift IMKit on macOS 12+ and C11 IBus on Ubuntu 26.04 Wayland/X11 across 35 C ABI symbols.
04 — Personal Learning
Learned with context
月面探査の記録。持ち帰ったうちゅうこうせき宇宙鉱石
(月面…持ち帰った, うちゅうこうせき) → 宇宙鉱石
Stored strictly as a (left_context, reading) → surface pair
Everyday phrasing untouched
科学史に残る大きなこうせき功績
大きな功績 — #1
Standalone unigrams stay isolated — zero cross-context pollution
Verified 20/20 on holdout suites: records only when you pick and commit a candidate — never on Escape, focus loss, or forced commits.
Saved strictly on your device in a permission-locked local store (0700 directory, 0600 file). Never synced or uploaded.
Pause learning, revert the latest recorded choice in one click, or wipe the entire local store from the menu bar anytime.
# Soh.app/Contents/MacOS · static audit
$ otool -L Soh | grep -iE "CFNetwork|URLSession|curl"
→ 0 network libraries linked (exit 1)
Nothing to phone home with.
0 BytesNetwork symbols
Air-gapped at the linker — zero URLSession, CFNetwork, libcurl, or raw socket symbols, checked on every build.
0 PermsOS permissions
No Accessibility hooks, screen capture, or polling — uses at most 48 preceding chars via standard IME APIs when converting.
0 LogsKeystroke logs
Zero typed text in log files or crash dumps; #![forbid(unsafe_code)] Rust conversion core.
macOS Secure Event Input · Linux IBus PASSWORD / PIN / PRIVATE
01
set_features(0)
Disable all adaptive and context scoring
02
clear_context()
Purge trailing paragraph context buffer
03
clear_adaptation()
Purge ephemeral document vocabulary
04
set_lm(NULL)
Detach the 39.2 MB local LM from session
05
set_learner(NULL)
Block all personal learning reads and writes
Why now — Input purity in the AI era
Across hundreds of daily instructions to coding agents and LLMs, homophone slips (仕様 vs 使用, 検証 vs 現象) fragment tokenization and break focus.
Cloud IME rewriters and cloud voice post-processors send proprietary thinking off-device. Zero-network local inference removes that risk completely.
Local ASR (Whisper, SenseVoice) hears phonemes accurately yet trips on the same homophones and project terms — solved by one 15 ms N-best reranker.
Now · v0.1.0
Single #![forbid(unsafe_code)] Rust core, 39.2 MB Q8_0 prefix-tree LM, and pair-separated learning — shipping today via Swift IMKit (.pkg) and C11 IBus (.deb).
Next · v0.2 · Planned
Planned: distills permissive teacher LLMs with hard negatives from Soh’s real top-8 lattice into the exact same 39.2 MB / 15 ms format — higher accuracy, zero added latency.
Soon · v0.3 · Planned
Planned: 15 ms local N-best rescoring for Whisper and SenseVoice sharing your keyboard vocabulary, plus an embeddable libsoh_ffi C ABI SDK.
Future · v0.4+ · Future
Future: standalone iOS keyboard extension (UIInputViewController) pairing Q4_0 (~20 MB) quantization with mmap tuning for iOS’s strict extension memory ceiling.
Free and open source under Apache-2.0.