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.2.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.2-py3-none-any.whl (1.8 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rbtn-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 7a77552344cfa2a774b812e7be594e06ecb531cb980ced98d19e5bd9ce2c4eee
MD5 5c6400e9dc3836a7fd6e9e9461f5fc17
BLAKE2b-256 08a47d9bae55973ccc57ea638750c062c1f80ac66538637f878931d25b1347cf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rbtn-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 022392ba6e1fbc070fd125b9052c1ecf6462fbe6f14b985892cc00fa570768f8
MD5 af972164ec4831579e530bfb8a012d4e
BLAKE2b-256 7f5a0182d4a7f98c9bcaf688337cf2c6abfc9c8c518ad7feb3f47fbcb5f791e1

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