Skip to content

外部モデルによる日本語変換候補の並び替えを削除 / Remove external candidate reranking - #1275

Merged
KazumaProject merged 3 commits into
devfrom
codex/candidate-rerank-settings
Nov 10, 2026
Merged

KazumaProject merged 3 commits into
devfrom
codex/candidate-rerank-settings

Conversation

@KazumaProject

@KazumaProject KazumaProject commented Nov 10, 2026 •

Copy link
Copy Markdown
Owner

日本語

日本語の変換候補を別途取り込んだ GGUF・ONNX モデルで並び替える機能を削除しました。設定画面、モデルの取り込み、採点サービス、専用の JNI と ONNX Runtime を削除しています。候補の並び替えには既存の zenz 設定を使えます。

旧版から更新すると、アプリ内に作成したモデルとトークナイザーのコピー、および専用設定を削除します。端末上の取り込み元ファイルは保持します。

ONNX Runtime が Full に含まれる唯一の 32 ビット向けネイティブ依存だったため、削除後の Full は arm64-v8a と x86_64 向けです。

検証

  • Full・Lite の Debug APK をビルドし、設定・検索・ライセンスの関連テスト計21件が通過。
  • Pixel 6(Android 17)で旧版の保存状態から上書きし、取り込んだコピーと専用設定の削除、元ファイルのハッシュ一致、実際の日本語入力での同梱 zenz の採点を確認。
  • リリース依存関係とライセンスの照合、およびネイティブシンボル検証スクリプトのテスト4件が通過。
  • Full 配布用 AAB をビルドし、64 ビットの両 ABI、ONNX Runtime の不在、zenz と OpenMP のシンボルおよび ELF Build ID を確認。
  • 初回のテスト実行で出た失敗21件は、変更前の親ブランチでもすべて再現。

English

Remove the feature that reranked Japanese conversion candidates with separately imported GGUF or ONNX models. This removes the settings, importer, scoring service, dedicated JNI code, and ONNX Runtime. The existing zenz setting still provides candidate reranking.

Upgrading removes the private copies of imported models and tokenizers and the dedicated preferences. The source files on the device are kept.

ONNX Runtime was the only native dependency that provided 32-bit libraries in Full. Full now targets arm64-v8a and x86_64.

Verification

  • Built the Full and Lite debug APKs. All 21 targeted settings, search, and license tests passed.
  • Upgraded the previous build on a Pixel 6 running Android 17. Verified removal of the private copies and preferences, matched the original file's hash, and observed bundled zenz scoring candidates during Japanese IME input.
  • Verified release dependency license coverage and notice hashes. All four native-symbol verifier tests passed.
  • Built the Full release AAB. Verified both 64-bit ABIs, the absence of ONNX Runtime, and the native symbols and ELF build IDs for zenz and OpenMP.
  • All 21 failures from the initial test run also reproduced on the unchanged parent branch.

@KazumaProject KazumaProject changed the title 日本語候補の並び替え設定を独立 / Give Japanese candidate reranking its own settings page 外部モデルによる日本語変換候補の並び替えを削除 / Remove external candidate reranking Nov 10, 2026
@KazumaProject
KazumaProject changed the base branch from codex/english-completion-quality to dev November 10, 2026 04:20
@KazumaProject
KazumaProject merged commit 18a12b5 into dev Nov 10, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant