v0.1.0 · On-device local LLM · Open source

Japanese inputthat reads intent.

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)

月面探査の記録。持ち帰ったうちゅうこうせき宇宙鉱石
On-device15.4 ms p5039.2 MB LM0 B network
97.8%
Real-Mac accuracy (vs Apple 90.2%)
39.2 MB
On-device local LLM — no cloud
15.4 ms
Instant local response (M2 Max)
0 Bytes
Zero network — fully air-gapped

01 — Why Soh

Local LLM accuracy. Zero cloud exposure. Traditional IMEs stay blind to context, while cloud AI sends your keystrokes off-device. Soh runs a 39.2 MB local LLM on your machine — reaching 97.8% accuracy completely offline.

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

02 · Cloud AI & Pure LLMs

Privacy leaks, lag, and drift

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

Soh: Secure local LLM + Lattice

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%

97.8% first-choice accuracy. Right from the first keystroke, before it ever learns a word from you.

Apple M2 Max · 2,358 live conversions · 0 anomalies · zero personal learning

Soh769 / 78697.8%
Apple Japanese IM709 / 78690.2%
Google Japanese Input612 / 78677.9%

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).

39.2 MB local LLM. 15.4 ms on device. One pass over your preceding text scores eight candidates together inside your silicon — with zero cloud round-trip.

Preceding context

月面探査の記録。持ち帰った

宇宙鉱石Top choice
宇宙功績

6 other candidates compared together

01 · 0.33 ms

Reading-Exact Rust Lattice

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

Shared-Prefix Q8_0 Local LM

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

Native Silicon Acceleration

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

Single Rust Core, Native Hosts

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

Learns your rare pick. Keeps everyday typing clean. Context-dependent selections stay paired with their preceding words, so one specialized choice never corrupts unrelated sentences.

Learned with context

月面探査の記録。持ち帰ったうちゅうこうせき宇宙鉱石

(月面…持ち帰った, うちゅうこうせき) → 宇宙鉱石

Stored strictly as a (left_context, reading) → surface pair

Everyday phrasing untouched

科学史に残る大きなこうせき功績

大きな功績 — #1

Standalone unigrams stay isolated — zero cross-context pollution

Explicit choices only

Verified 20/20 on holdout suites: records only when you pick and commit a candidate — never on Escape, focus loss, or forced commits.

0700/0600 local file only

Saved strictly on your device in a permission-locked local store (0700 directory, 0600 file). Never synced or uploaded.

ON/OFF, 1-step undo & full reset

Pause learning, revert the latest recorded choice in one click, or wipe the entire local store from the menu bar anytime.

Zero bytes leave your machine. Enforced by the binary linker — not a settings toggle.

Soh.app

# 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.

5-layer automatic isolation on password & private fields

macOS Secure Event Input · Linux IBus PASSWORD / PIN / PRIVATE

  1. 01

    set_features(0)

    Disable all adaptive and context scoring

  2. 02

    clear_context()

    Purge trailing paragraph context buffer

  3. 03

    clear_adaptation()

    Purge ephemeral document vocabulary

  4. 04

    set_lm(NULL)

    Detach the 39.2 MB local LM from session

  5. 05

    set_learner(NULL)

    Block all personal learning reads and writes

Why now — Input purity in the AI era

One offline engine for accurate Japanese. Shipping on Mac and Ubuntu today — coming next to voice dictation, app SDKs, and iOS.

Homophone tax in daily AI prompts

Across hundreds of daily instructions to coding agents and LLMs, homophone slips (仕様 vs 使用, 検証 vs 現象) fragment tokenization and break focus.

Prompts are confidential source code

Cloud IME rewriters and cloud voice post-processors send proprietary thinking off-device. Zero-network local inference removes that risk completely.

Keyboard and local voice share one problem

Local ASR (Whisper, SenseVoice) hears phonemes accurately yet trips on the same homophones and project terms — solved by one 15 ms N-best reranker.

Shipping in order of user value

Read roadmap
  1. Now · v0.1.0

    macOS & Ubuntu

    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).

  2. Next · v0.2 · Planned

    Soh-LM v1

    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.

  3. Soon · v0.3 · Planned

    Soh Voice & SDK

    Planned: 15 ms local N-best rescoring for Whisper and SenseVoice sharing your keyboard vocabulary, plus an embeddable libsoh_ffi C ABI SDK.

  4. Future · v0.4+ · Future

    Soh for iOS

    Future: standalone iOS keyboard extension (UIInputViewController) pairing Q4_0 (~20 MB) quantization with mmap tuning for iOS’s strict extension memory ceiling.

Type accurate Japanese,completely offline.

Free and open source under Apache-2.0.