https://github.com/togatoga/karukan
Japanese Input Method System for Linux, Neural Kana-Kanji Conversion Engine + fcitx5 IME
https://github.com/togatoga/karukan
fcitx5 ime inputmethod inputmethodkit japanese linux rust
Last synced: about 1 month ago
JSON representation
Japanese Input Method System for Linux, Neural Kana-Kanji Conversion Engine + fcitx5 IME
- Host: GitHub
- URL: https://github.com/togatoga/karukan
- Owner: togatoga
- License: apache-2.0
- Created: 2024-08-11T05:01:06.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2026-02-24T14:21:37.000Z (3 months ago)
- Last Synced: 2026-02-24T18:38:56.905Z (3 months ago)
- Topics: fcitx5, ime, inputmethod, inputmethodkit, japanese, linux, rust
- Language: Rust
- Homepage:
- Size: 2.14 MB
- Stars: 125
- Watchers: 3
- Forks: 7
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
Karukan
Linux向け日本語入力システム — ニューラルかな漢字変換エンジン + fcitx5
[](https://github.com/togatoga/karukan/actions/workflows/karukan-engine-ci.yml)
[](https://github.com/togatoga/karukan/actions/workflows/karukan-im-ci.yml)
[](LICENSE-MIT)
## プロジェクト構成
| クレート | 説明 |
|---------|------|
| [karukan-im](karukan-im/) | karukan-engineを利用したfcitx5向け日本語入力システム |
| [karukan-engine](karukan-engine/) | コアライブラリ — ローマ字→ひらがな変換 + llama.cppによるニューラルかな漢字変換 |
| [karukan-cli](karukan-cli/) | CLIツール・サーバー — 辞書ビルド、Sudachi辞書生成、辞書ビューア、AJIMEE-Bench、HTTPサーバー |
## 特徴
- **ニューラルかな漢字変換**: GPT-2ベースのモデルをllama.cppで推論し、高度な日本語変換
- **コンテキスト対応**: 周辺テキストを考慮した日本語変換
- **変換学習**: ユーザーが選択した変換結果を記憶し、次回以降の変換で優先表示。予測変換(前方一致)にも対応し、入力途中でも学習済みの候補を提示
- **システム辞書**: [SudachiDict](https://github.com/WorksApplications/SudachiDict)の辞書データからシステム辞書を構築
> **Note:** 初回起動時にHugging Faceからモデルをダウンロードするため、初回の変換開始までに時間がかかります。2回目以降はダウンロード済みのモデルが使用されます。
## インストール
インストール方法は [karukan-im の README](karukan-im/README.md#install) を参照してください。
## ライセンス
MIT OR Apache-2.0 のデュアルライセンスで提供しています。
- [MIT License](LICENSE-MIT)
- [Apache License 2.0](LICENSE-APACHE)