cntn-0.0.3
توضیحات
Convert chinese written string to spoken string
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | cntn-0.0.3 |
| نام | cntn |
| نسخه کتابخانه | 0.0.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Meixu Song |
| ایمیل نویسنده | meixu.asr@gmail.com |
| آدرس صفحه اصلی | https://github.com/open-speech/cn-text-normalizer |
| آدرس اینترنتی | https://pypi.org/project/cntn/ |
| مجوز | MIT |
## Intro.
> Convert chinese written string to read string. 将中文书面字符串转换为口语字符串。
## Usage
```python
from cntn import w2s
print(w2s("小王的身高是153.5cm,梦想是打篮球!我觉得有0.1%的可能性。"))
# 小王的身高是一百五十三点五厘米,梦想是打篮球!我觉得有百分之零点一的可能性。
print(w2s("小王的钱包有1116$,可以买个iphone7s。"))
# 小王的钱包有一千一百一十六$,可以买个IPHONE七S。
```
## Install
```bash
# from pip
pip install cntn
# from source
git clone https://github.com/open-speech/cn-text-normalizer.git
cd cn-text-normalizer
python setup install
# or
pip install git+https://github.com/open-speech/cn-text-normalizer
```
## Config
نحوه نصب
نصب پکیج whl cntn-0.0.3:
pip install cntn-0.0.3.whl
نصب پکیج tar.gz cntn-0.0.3:
pip install cntn-0.0.3.tar.gz