convert non-standard words to spoken-form words
Project description
Rule-based text normalization system
✨ Features
消除文字的歧異,為文字轉語音系統的前置工作。
如:
7/19是星期五 -> 七月十九號是星期五
2/3的人不喜歡香菜 -> 三分之二的人不喜歡香菜
🚀 Quick Start
import rbtn.cetn as rbcetn
tn=rbcetn.textnormalizer()
nt=tn.get_normalized_text(['30年', '', '0050'])
print(nt)
📊 Demo / Results
📁 Project Structure
⚙️ Configuration
📚 Citation
📜 License
This project is available for academic and research use only.
Commercial use requires explicit permission from the author.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rbtn-0.1.3.tar.gz
(1.7 MB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
rbtn-0.1.3-py3-none-any.whl
(1.8 MB
view details)
File details
Details for the file rbtn-0.1.3.tar.gz.
File metadata
- Download URL: rbtn-0.1.3.tar.gz
- Upload date:
- Size: 1.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2cb8496ce6ee674319124da389162203822b81f4350b7e9b78f30ce35da1a589
|
|
| MD5 |
e234f4fbfc688a44925993923e0a681b
|
|
| BLAKE2b-256 |
b5e879b77f4541dc61e8a1e2be29085e457ee3c371354ef970d387b005d4c751
|
File details
Details for the file rbtn-0.1.3-py3-none-any.whl.
File metadata
- Download URL: rbtn-0.1.3-py3-none-any.whl
- Upload date:
- Size: 1.8 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a31279390800f48b84e59bd11947b011c20bb5b6fcf95178c77a366f26a24216
|
|
| MD5 |
b470a1b8b9c412614e348d7d67149a66
|
|
| BLAKE2b-256 |
c8e94a7df27a94cbeae376aaf95dfb6101735cba2aff346aaea0b62d437e3f12
|