pinyin icon indicating copy to clipboard operation
pinyin copied to clipboard

:cn: 汉字拼音 ➜ hàn zì pīn yīn

Results 28 pinyin issues
Sort by recently updated
recently updated
newest added

![Snipaste_2022-08-04_19-56-40](https://user-images.githubusercontent.com/30691481/182842799-aa3515ee-574c-42af-bbee-817d00f856c9.png) ![Snipaste_2022-08-04_19-53-02](https://user-images.githubusercontent.com/30691481/182842812-d6eefbcd-e7d2-4800-899b-2f67e42e237f.png) ![Snipaste_2022-08-04_19-53-13](https://user-images.githubusercontent.com/30691481/182842853-4e50e4f5-737c-492f-9608-75a4541ef65a.png) ![Snipaste_2022-08-04_19-53-31](https://user-images.githubusercontent.com/30691481/182842863-548571a0-2fb3-47e5-9e88-e05cd3b86ba6.png) 还有一些拼音字母并非是半角,类似 ìq 还有一些拼音未间隔开或者是拼音字符有问题 "衚衕" "阿Q" "经济" "启迪" "洋姜" "丢魂丧胆" "哪吒" "抓耳搔腮" "腐竹" "足尺加二" "说话" "注音字母" "养鱼池" "低氧" "以眼还眼,以牙还牙" "税务员" "悬崖绝壁" "一朝之患" "嬉皮士" "一朝千里" "喝醉" "神职" "习字帖"...

最近发现打包的时候会报错, ![image](https://user-images.githubusercontent.com/47288962/179468494-5aff32f3-ac49-4bff-965e-0af04bf83611.png)

现在打包出来有lib 和 esm 文件夹里面都是散文件,能不能支持类似pinyin.min.js

``` > pinyin('流行', {segment:true}) [ [ 'liú' ], [ 'xíng' ] ] > pinyin('音乐', {segment:true}) [ [ 'yīn' ], [ 'yuè' ] ] > pinyin('流行音乐', {segment:true}) [ [ 'liú' ],...

```js console.log( pinyin("他说:“钱还是要还的。”", { segment: true, group: true, }) ); // 返回 [ [ 'tā' ], [ 'shuō' ], [ ':“' ], [ 'qián' ], [ 'háishì' ], [ 'yào'...

TODO

``` $ pinyin [output.file] ```

可参考输入引擎rime的字库[essay.txt](https://raw.githubusercontent.com/rime/librime/master/data/minimal/essay.txt),词频最低的单字(文件最下方)大都无法转换。建议无法解析的单字输出异常而不是原样输出。 𫗴 0 𫘝 0 𫘨 0 𫚕 0

### 原文 人要是行 ,干一行行一行 , 一行行行行行 人要是不行,干一行不行一行, 一行不行行行不行。 ### 结果 `rén yào shì háng , gān yī háng háng yī xíng , yī háng háng háng háng háng rén yào...

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ruby