Skip to main content

Provides RHVoice libraries and data for rhvoice-wrapper

Project description

rhvoice-wrapper-data

Provides RHVoice libraries and data for rhvoice-wrapper. Linux only.

If this package installed, rhvoice-wrapper will automatically use it by default.

Install

pip install rhvoice-wrapper-data --only-binary rhvoice-wrapper-data

Install from source

First, install dependencies to build:

apt-get install --no-install-recommends scons build-essential python3-pip python3-setuptools python3-wheel

Install package from source. This download and build RHVoice and may take many time:

pip install rhvoice-wrapper-data --no-binary rhvoice-wrapper-data

Usage

rhvoice-wrapper will automatically use paths from rhvoice_wrapper_data:

from rhvoice_wrapper import TTS
tts = TTS()

Or you may use this manually:

from rhvoice_wrapper import TTS
import rhvoice_wrapper_data

# Contains path to the RHVoice library or None if errors
print(rhvoice_wrapper_data.lib_path)
# Contains path to the RHVoice data or None if errors
print(rhvoice_wrapper_data.data_path)

tts = TTS(lib_path=rhvoice_wrapper_data.lib_path, data_path=rhvoice_wrapper_data.data_path)

Or use installed RHVoice instead of rhvoice-wrapper-data

from rhvoice_wrapper import TTS
tts = TTS(lib_path=None, data_path=None)

Links

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

rhvoice-wrapper-data-0.0.2.tar.gz (16.4 kB view hashes)

Uploaded Source

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