## 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
> 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
Release files for cntn 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cntn-0.0.3.tar.gz | 7.2 kB | Details |
Release files / cntn-0.0.3.tar.gz
| Download URL | cntn-0.0.3.tar.gz |
|---|---|
| Size | 7.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9087a392b32ec4604e35a36cb10e68e1d042fa211645c34f5f4726f1cb24de77
|
|
BLAKE2b-256 checksum How to use checksums |
3facec655ba5780d94ab9c4516706e36ca44898939af5d1ffc3df8ad0dd7d635
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |