https://github.com/belerweb/pinyin4j
A copy of http://sourceforge.net/projects/pinyin4j, then deploy it to maven central repository.
https://github.com/belerweb/pinyin4j
Last synced: 11 months ago
JSON representation
A copy of http://sourceforge.net/projects/pinyin4j, then deploy it to maven central repository.
- Host: GitHub
- URL: https://github.com/belerweb/pinyin4j
- Owner: belerweb
- Created: 2013-04-22T08:30:46.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2023-09-04T08:14:50.000Z (over 2 years ago)
- Last Synced: 2025-04-06T00:05:37.884Z (12 months ago)
- Language: Java
- Size: 366 KB
- Stars: 1,260
- Watchers: 50
- Forks: 308
- Open Issues: 40
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-java - Pinyin4j - Giles、MPS2、Yale和Gwoyeu Romatzyh。 (人工智能 / 自然语言处理)
README
pinyin4j
========
A copy of http://sourceforge.net/projects/pinyin4j, then deploy it to maven central repository.
### Download ###
Download the jar via maven:
```xml
com.belerweb
pinyin4j
2.5.0
```
### QQ Group ###
QQ群:479540440
### 多音字识别 ###
在pinyin4j的基础上添加了多音字识别,带近一万个多音词,但是这远远不够,所以用户可设置外挂词库
### 外挂多音词库 ###
用户配置的外挂词库会覆盖系统中相同词的读音,可用于纠错
配置方式很简单,只需要配置路径即可
```
MultiPinyinConfig.multiPinyinPath="/Users/yiboliu/my_multi_pinyin.txt"
```
格式同系统的多音词库,如:
```
吸血鬼日记 (xi1,xue4,gui3,ri4,ji4)
```