https://github.com/guoguang/pinyinutils
汉字转换为拼音,支持多音字,首字母模式,支持标点模式,无标点模式,
https://github.com/guoguang/pinyinutils
Last synced: about 1 month ago
JSON representation
汉字转换为拼音,支持多音字,首字母模式,支持标点模式,无标点模式,
- Host: GitHub
- URL: https://github.com/guoguang/pinyinutils
- Owner: GuoGuang
- License: gpl-3.0
- Created: 2018-04-15T12:38:41.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-10-13T00:25:32.000Z (almost 5 years ago)
- Last Synced: 2025-04-03T21:51:02.855Z (6 months ago)
- Language: Java
- Size: 473 KB
- Stars: 55
- Watchers: 3
- Forks: 10
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pinyin #
----------
***pinyin*** is java library which could translate Chinese character into Chinese PinYin.
## maven build ##
```## usage
```java
Pinyin py = new Pinyin();
py.translate("汉");
py.translate("わたしわ数据, and my English name is Tom. ^_^。下面是一段多音分词歧义测试,冬天:能穿多少穿多少;夏天:能穿多少穿多少。");
```## License ##
MIT License