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.3.tar.gz (1.7 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.3-py3-none-any.whl (1.8 MB view details)

Uploaded Python 3

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

Hashes for rbtn-0.1.3.tar.gz
Algorithm Hash digest
SHA256 2cb8496ce6ee674319124da389162203822b81f4350b7e9b78f30ce35da1a589
MD5 e234f4fbfc688a44925993923e0a681b
BLAKE2b-256 b5e879b77f4541dc61e8a1e2be29085e457ee3c371354ef970d387b005d4c751

See more details on using hashes here.

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

Hashes for rbtn-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a31279390800f48b84e59bd11947b011c20bb5b6fcf95178c77a366f26a24216
MD5 b470a1b8b9c412614e348d7d67149a66
BLAKE2b-256 c8e94a7df27a94cbeae376aaf95dfb6101735cba2aff346aaea0b62d437e3f12

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