zh-lx / pinyin-pro

中文转拼音、拼音音调、拼音声母、拼音韵母、多音字拼音、姓氏拼音、拼音匹配、中文分词
https://pinyin-pro.cn
MIT License
3.88k stars 336 forks source link

initial 模式下无法识别首字母为 a 的字 #262

Closed setobox closed 3 months ago

setobox commented 3 months ago

bug 描述

请输入内容……

你预期的样子是?

啊安爱 -> a a a

pinyin-pro 版本号

v3.23.1

最小成本的复现步骤

Clip_2024-07-16_11-27-07

setobox commented 3 months ago

用错了,想要首字母该用{ pattern: 'first', toneType: 'none' }