Skip to main content

Normalization for TTS Input

Project description

Python library for text normalization for TTS input using gpt

Installation

pip install normalization_gan

Usage

from normalization_gan import Normalization

# Create instance, provide openai_api_key as string to authenticate
normalization_obj = Normalization(OPENAI_API_KEY)

sample_text = "My phone number is 555-1234"

# Use normalize_text method 
normalized_text = normalization_obj.normalize_text(sample_text)

# Output string would look like : "My phone number is five five five one two three four."

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

normalization_gan-0.0.4.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

normalization_gan-0.0.4-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file normalization_gan-0.0.4.tar.gz.

File metadata

  • Download URL: normalization_gan-0.0.4.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for normalization_gan-0.0.4.tar.gz
Algorithm Hash digest
SHA256 33e037f0b5b0369ca67a3210555a60099bc4a55be6bde5ceb7c8ba95de0abd54
MD5 317799e2367d58e443e5670b2b065cba
BLAKE2b-256 86d947f0e723a843e866ac9e31c54aee8f40551c5b82a9eecf9ca6bd2cddf80e

See more details on using hashes here.

File details

Details for the file normalization_gan-0.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for normalization_gan-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 755e9904a92730a0d7a87e1590f550c50bb8dafa03b6bf729a72225abaf50b6b
MD5 11d10edc22dd142e0129b3f8af12b540
BLAKE2b-256 d414d19d8d610aa3652a9d1c2077414670afbe54ab5587041ab9edaa5bdedcb0

See more details on using hashes here.

Supported by

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