What problem does it solve? Users of the Keytao (键道) input method need to look up which codes map to which words, compute codes and character-root splits for arbitrary words, and compare word commonness before adding entries to the dictionary, all without memorizing encoding rules. ## Core Features & Use Cases - Bidirectional Dictionary Lookup: Query codes by word or words by code, individually or in batches of up to 100, with duplicate-code (重码) position labels. - Rule-Based Encoding: Compute candidate codes, fly-key variants, and per-character phonetic/shape splits for any word, including words not yet in the dictionary, with verified occupancy status for each candidate code. - Word Commonness Comparison: Compare 1-12 words using local corpus frequency (BCC modern channels, jieba) and dictionary evidence to support reordering same-code chains. - Use Case: A user asks "你好 怎么拆" in a QQ or Telegram chat; the bot calls keytao_encode and returns the recommended code nkhz plus per-character root breakdowns, then guides the add-word confirmation flow. ## Quick Start Ask the bot "查一下 世界 的键道编码" or "你好 怎么拆分" and it will call the appropriate lookup or encode tool and return formatted results.