karukan
Japanese Input Method System for Linux, macOS, Neural Kana-Kanji Conversion Engine
Understand how Karukan's JSON-RPC protocol differentiates sync and async communication using the presence or absence of the id field for requests and notifications.
How Karukan's Learning Cache Eviction Works When Exceeding the Maximum EntriesDiscover how Karukan's learning cache evicts entries when exceeding the maximum limit. See how low-scoring items are removed based on recency and frequency.
JIS かな Key Detection in Karukan: Returning to Hiragana Mode on macOSLearn how Karukan on macOS uses JIS かな key detection to seamlessly return to hiragana mode. Understand the event interception and keysym translation that keeps your input smooth and efficient.
How Karukan Manages and Loads User Dictionaries from defaultuserdict.txtLearn how Karukan loads and manages user dictionaries from defaultuserdict.txt. Discover how Karukan merges and prioritizes your custom dictionaries for enhanced candidate generation.
How Preedit Text Rendering Works with Cursor Position Tracking in KarukanUnderstand preedit text rendering and cursor tracking in Karukan. Learn how Japanese text composition achieves precise caret placement using character-based indexing.
How Shift+Letter Triggers Alphabet Mode Entry on Linux Fcitx5 with KarukanLearn how Karukan on Linux Fcitx5 triggers alphabet mode entry with Shift+letter by bypassing romaji conversion for direct character insertion. Get instant typing.
How Candidate Pagination Works in Karukan's IME EngineDiscover how Karukan's IME engine uses cursor-based pagination to efficiently manage conversion candidates. Explore wrap-around navigation with fixed-size pages and no memory reallocation.
How Karukan Determines Adaptive Model Selection Based on InputLearn how Karukan dynamically selects adaptive models based on runtime token count, candidate count, and latency flags for efficient conversions.
Understanding the Jinen Format in Karukan: Unicode Tokens for LLM-Based Kanji ConversionDiscover the Jinen format in Karukan, using special Unicode tokens for efficient LLM-based Kanji conversion with llama.cpp models.
How Karukan Handles Surrounding Text for Context-Aware Conversion with Left Context (lctx)Discover how Karukan leverages left context (lctx) to enhance context-aware text conversion. Learn how it builds and processes surrounding text for smarter language models.
How Incremental Rechunking with ChunkPlan Optimizes Live Conversion Performance in KarukanDiscover how Karukans ChunkPlan optimizes live conversion performance with incremental rechunking. Minimize reconversion work and keep latency low for faster edits.
How Karukan Supports Emoji Input: Kana Readings and Slack-Style :trigger: QueriesDiscover how Karukan supports emoji input with kana readings and Slack style :trigger: queries via its unified EmojiRewriter and pre-computed lookup tables.
Have a question about this repo?
These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:
curl -s "https://instagit.com/install.md" Maintain an open-source project? Get it listed too →