An open API service indexing awesome lists of open source software.

https://github.com/guoguang/pinyinutils

汉字转换为拼音,支持多音字,首字母模式,支持标点模式,无标点模式,
https://github.com/guoguang/pinyinutils

Last synced: about 1 month ago
JSON representation

汉字转换为拼音,支持多音字,首字母模式,支持标点模式,无标点模式,

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