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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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