One Rust core.
Zero cloud dependencies.単一の Rust コア。
クラウド依存ゼロ。
Soh separates candidate generation, morphosyntactic filtering, prefix-tree neural scoring, and controllable personal learning behind a stable C ABI v6 shared by macOS InputMethodKit and Ubuntu Linux IBus.候補生成・形態統語フィルタ・プレフィックス木 LM 採点・非汚染個人学習を明確に分離し、単一の C ABI v6 を通じて macOS InputMethodKit と Ubuntu Linux IBus の両方へ提供します。
From keystroke to contextual commit in ~15 ms.打鍵から文脈確定まで、約 15 ms。
Rust Dictionary LatticeRust 辞書ラティス
From-scratch Viterbi + K-best lattice extracts top-8 strictly reading-exact candidate paths (99.7% Oracle@8, zero hallucinations).独自実装の Viterbi + K-best ラティスが読みに 100% 忠実な上位 8 経路を抽出(Oracle@8 99.7%・ハルシネーション 0)。
Morphosyntactic Filter形態統語フィルタ
A compact 2.6 KB structural invariant layer prunes impossible colloquial splits before neural scoring without banning valid words.わずか 2.6 KB の形態統語不変条件が、有効な語を禁止することなく不自然な口語誤分割を除外。
39.2 MB Prefix-Tree LM39.2 MB プレフィックス木 LM
Q8_0 local GPT-2 (37.4M) batches all 8 paths + ≤48 left-context chars in one causal prefix tree, skipping lm_head on shared prefix tokens.Q8_0 量子化 37.4M モデルが左文脈最大 48 文字+上位 8 候補を 1 本のプレフィックス木で一括推論。共通接頭辞の lm_head を数学的に省略。
Pair-Separated Learningペア分離・非汚染学習
Explicit user choices update bounded on-device pair & unigram tables with right-neighbor POS guards so unrelated sentences stay intact.明示選択のみを有界ローカル表へ記録。文脈ペア分離と右隣接品詞ガードで別文脈の誤汚染を防止。
Shared C ABI v6 across macOS and Linux.macOS と Linux で共通の C ABI v6。
Apple Silicon + Accelerate
Statically links libsoh_ffi.a with Apple Accelerate (cblas_sgemm) for 10.6 ms core inference and 15.4–18.8 ms active E2E latency. Loads the 39.2 MB model asynchronously at startup so typing never blocks.libsoh_ffi.a と Apple Accelerate(cblas_sgemm)を静的リンクし、コア 10.6 ms・実機アクティブ 15.4–18.8 ms を達成。39.2 MB モデルはバックグラウンド非同期読み込みのため打鍵を一切ブロックしません。
AVX2+FMA & Optional OpenBLAS
Lightweight C11 IBus engine linking the exact same libsoh_ffi.a. Ships runtime-dispatched zero-dependency AVX2+FMA kernels (~19.8 ms) plus optional OpenBLAS (~19.1 ms) and passes 107/107 host harness checks.同一の libsoh_ffi.a をリンクする軽量 C11 IBus エンジン。実行時検出のゼロ依存 AVX2+FMA(約 19.8 ms)と任意 OpenBLAS(約 19.1 ms)に対応し、ホストハーネス 107/107 項目合格。
#![forbid(unsafe_code)]
The entire soh-core crate forbids unsafe Rust, performs zero file I/O, and owns all state transitions deterministically.soh-core クレート全体で unsafe を完全禁止し、ファイル I/O ゼロで決定的に状態遷移を管理。
Open-Conversion Freeze変換中リストの完全固定
Candidate ordering is frozen once CONVERTING begins. Background model load or learner flushes never reshuffle candidates mid-selection.変換開始後は候補一覧と順序を完全固定。モデル読み込み完了や学習保存が選択中の候補順を揺らすことはありません。
Zero-Leak FFI BoundaryFFI 境界のパニック遮断
Every C ABI entry point runs inside catch_unwind with silenced panic output so no user text ever leaks to stderr or crash logs.全 C ABI 関数を catch_unwind で保護しパニック出力を無音化。入力テキストが標準エラーへ漏れる経路を遮断。