pinyin library for java, 支持多音字
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
.travis.yml
README.md
pom.xml

README.md

pinyin


travis

pinyin is java library which could translate Chinese character into Chinese PinYin.

maven build

mvn package

maven

<dependency>
    <groupId>net.duguying.pinyin</groupId>
    <artifactId>pinyin</artifactId>
    <version>0.0.1</version>
</dependency>

usage

Pinyin py = new Pinyin();
py.translate("");
py.translate("わたしわ阿飞, and my English name is Rex Lee. 网名是独孤影! ^_^。下面是一段多音分词歧义测试,这个人无伤无臭味。");

License

MIT License