We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5aa49f2 commit 5239e7bCopy full SHA for 5239e7b
README.md
@@ -65,6 +65,9 @@ console.log(pinyin("中心", {
65
style: pinyin.STYLE_INITIALS, // 设置拼音风格
66
heteronym: true
67
})); // [ [ 'zh' ], [ 'x' ] ]
68
+
69
+//[angular-moon]增加了一个新的方法,用于生产包含多音字的字符串(主要用于前端检索)
70
+console.log(pinyin.buildSearchString("重庆")); //chongqing zhongqing cq zq
71
```
72
73
命令行:
0 commit comments