e04
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinesee04 - 注音文解碼器
e04 - 注音文解码器
Decode "注音文" — Chinese text typed as English keyboard keys using the standard Zhuyin (Bopomofo) input method layout.
解码“注音文”——即使用标准注音(Bopomofo)输入法布局通过英文键盘按键输入的中文文本。
When to Use
使用场景
- Encountering unrecognized English letter/number sequences that don't look like real English words
- User sends messages mixing Chinese and random-looking English fragments
- User explicitly mentions 注音文 or asks to decode keyboard input
- 遇到无法识别的英文字母/数字序列,且这些序列看起来不像真实英文单词
- 用户发送的消息中混合了中文和看似随机的英文片段
- 用户明确提及注音文,或要求解码键盘输入内容
Keyboard-to-Zhuyin Mapping Table
键盘到注音映射表
Consonants (聲母)
声母
| Key | Zhuyin | Key | Zhuyin | Key | Zhuyin |
|---|---|---|---|---|---|
| 1 | ㄅ | r | ㄐ | 5 | ㄓ |
| q | ㄆ | f | ㄑ | t | ㄔ |
| a | ㄇ | v | ㄒ | g | ㄕ |
| z | ㄈ | 2 | ㄉ | b | ㄖ |
| w | ㄊ | e | ㄍ | y | ㄗ |
| s | ㄋ | d | ㄎ | h | ㄘ |
| x | ㄌ | c | ㄏ | n | ㄙ |
| 按键 | 注音 | 按键 | 注音 | 按键 | 注音 |
|---|---|---|---|---|---|
| 1 | ㄅ | r | ㄐ | 5 | ㄓ |
| q | ㄆ | f | ㄑ | t | ㄔ |
| a | ㄇ | v | ㄒ | g | ㄕ |
| z | ㄈ | 2 | ㄉ | b | ㄖ |
| w | ㄊ | e | ㄍ | y | ㄗ |
| s | ㄋ | d | ㄎ | h | ㄘ |
| x | ㄌ | c | ㄏ | n | ㄙ |
Vowels (韻母)
韵母
| Key | Zhuyin | Key | Zhuyin | Key | Zhuyin |
|---|---|---|---|---|---|
| 8 | ㄚ | 9 | ㄞ | 0 | ㄢ |
| i | ㄛ | o | ㄟ | p | ㄣ |
| k | ㄜ | l | ㄠ | ; | ㄤ |
| , | ㄝ | . | ㄡ | / | ㄥ |
| u | ㄧ | j | ㄨ | m | ㄩ |
| - | ㄦ |
| 按键 | 注音 | 按键 | 注音 | 按键 | 注音 |
|---|---|---|---|---|---|
| 8 | ㄚ | 9 | ㄞ | 0 | ㄢ |
| i | ㄛ | o | ㄟ | p | ㄣ |
| k | ㄜ | l | ㄠ | ; | ㄤ |
| , | ㄝ | . | ㄡ | / | ㄥ |
| u | ㄧ | j | ㄨ | m | ㄩ |
| - | ㄦ |
Tones (聲調)
声调
| Key | Tone |
|---|---|
| space | ˉ (一聲,陰平) |
| 6 | ˊ (二聲,陽平) |
| 3 | ˇ (三聲,上聲) |
| 4 | ˋ (四聲,去聲) |
| 7 | ˙ (輕聲) |
| 按键 | 声调 |
|---|---|
| space | ˉ(一声,阴平) |
| 6 | ˊ(二声,阳平) |
| 3 | ˇ(三声,上声) |
| 4 | ˋ(四声,去声) |
| 7 | ˙(轻声) |
Decoding Process
解码流程
- Map each character to its Zhuyin symbol using the tables above
- Group into syllables: tone keys (,
3,4,6) mark the END of a syllable. Structure: [consonant] + vowel(s) + tone7 - Identify the Chinese character for each syllable
- Present with the Zhuyin breakdown
- 映射:使用上述表格将每个字符转换为对应的注音符号
- 分组:将字符分组为音节:声调按键(、
3、4、6)标记音节的结束。结构为:[声母] + 韵母 + 声调7 - 识别:确定每个音节对应的中文字符
- 呈现:附带注音拆分结果
Syllable Boundary Rules
音节边界规则
- Consonant keys and vowel keys do NOT overlap — each key belongs to exactly one category
- A tone key (,
3,4,6) always terminates a syllable7 - First tone (space/ˉ) is typically omitted in 注音文 — detect the boundary when a new consonant appears after a vowel
- 声母按键和韵母按键互不重叠——每个按键仅属于一个类别
- 声调按键(、
3、4、6)总是终止一个音节7 - 一声(空格/ˉ)在注音文中通常会省略——当韵母后出现新的声母时,即可检测到音节边界
Examples
示例
Input:
e04- → ㄍ,
e→ ㄢ,0→ ˋ4 - Combined: ㄍㄢˋ
- Result: 幹 — 台灣網路經典注音文
Input:
cl3- → ㄏ,
c→ ㄠ,l→ ˇ3 - Combined: ㄏㄠˇ
- Result: 好 (hǎo)
Input: (multi-syllable)
su3cl3- → ㄋ,
s→ ㄧ,u→ ˇ (syllable break) |3→ ㄏ,c→ ㄠ,l→ ˇ3 - Combined: ㄋㄧˇ ㄏㄠˇ
- Result: 你好
输入:
e04- → ㄍ,
e→ ㄢ,0→ ˋ4 - 组合后:ㄍㄢˋ
- 结果:幹 —— 台湾网络经典注音文
输入:
cl3- → ㄏ,
c→ ㄠ,l→ ˇ3 - 组合后:ㄏㄠˇ
- 结果:好(hǎo)
输入:(多音节)
su3cl3- → ㄋ,
s→ ㄧ,u→ ˇ(音节拆分) |3→ ㄏ,c→ ㄠ,l→ ˇ3 - 组合后:ㄋㄧˇ ㄏㄠˇ
- 结果:你好
Output Format
输出格式
When decoding, show:
「{input}」→ {zhuyin} → {chinese_character}If a syllable maps to multiple possible characters, list the most common ones and ask the user which they meant (if context is insufficient).
解码时,请按照以下格式展示:
「{input}」→ {zhuyin} → {chinese_character}如果一个音节对应多个可能的字符,请列出最常见的几个,并在上下文不足时询问用户所指的是哪个。
Notes
注意事项
- Tone key is always the last character in a syllable group
- Some syllables have no consonant (e.g., = ㄚˋ = 啊)
84 - Space as tone (一聲) is usually omitted in 注音文, so a syllable may end without a tone key
- Context matters: use surrounding Chinese text to disambiguate which character is intended
- If the sequence clearly IS a valid English word, don't force-decode it as Zhuyin
- 声调按键始终是音节组的最后一个字符
- 有些音节没有声母(例如,= ㄚˋ = 啊)
84 - 作为声调(一声)的空格在注音文中通常会被省略,因此音节可能没有声调按键就结束
- 上下文很重要:使用周围的中文文本明确用户想要的字符
- 如果序列明显是有效的英文单词,请勿强行将其解码为注音