Skip to main content

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

image

📁 Project Structure

RBTN

⚙️ Configuration

📚 Citation

📜 License

This project is available for academic and research use only.

Commercial use requires explicit permission from the author.

Project details


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.7.tar.gz (1.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rbtn-0.1.7-py3-none-any.whl (1.5 MB view details)

Uploaded Python 3

File details

Details for the file rbtn-0.1.7.tar.gz.

File metadata

  • Download URL: rbtn-0.1.7.tar.gz
  • Upload date:
  • Size: 1.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for rbtn-0.1.7.tar.gz
Algorithm Hash digest
SHA256 b1f6a4f78a70016271848647f33c4c9e030c8cd6b0ee8a0c92c685b34a092135
MD5 d6e05b4a52969fb4bf5eaa5b27fc02a1
BLAKE2b-256 f0a81e024b8910132eb93ae76cf0eda161e7f1d33b19fe6ce17ce06e15f2a4cf

See more details on using hashes here.

File details

Details for the file rbtn-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: rbtn-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 1.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for rbtn-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 f3c1b53e2dda9ce3e1aec009f670c472d3a063fbe4b2edf74f30ccee33f6e008
MD5 8c5fb53ac5f2a31f5da152aef9a0fce4
BLAKE2b-256 4e0120b907886db6c185caa7f9e93b9a7a212012fd8a58f65890f84843cebabc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page