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 data path from rhvoice_wrapper_data.
You must set package library path for LD before run python scripts. You may set LD_LIBRARY_PATH
, this must be works:
export LD_LIBRARY_PATH=$(pip3 show rhvoice-wrapper-data | grep Location | awk '{print $2}')/rhvoice_wrapper_data/lib/
python3 -u <script using rhvoice_wrapper>
Get info from library
import rhvoice_wrapper_data
# All the paths will None in error
# Contains path to the RHVoice library
print(rhvoice_wrapper_data.lib_path)
# Contains path to the RHVoice data
print(rhvoice_wrapper_data.data_path)
# Contains path to the RHVoice libraries. Must be set as dynamic libraries path
print(rhvoice_wrapper_data.LIBS_PATH)
# Contains path to the rhvoice-wrapper-data
print(rhvoice_wrapper_data.PATH)
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for rhvoice-wrapper-data-0.0.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e883f9a392110df73799a6015b7de180bd5b549df07b75e90bff6196ff2b176b |
|
MD5 | b2690c23ad201aedc6af0c3dfe5f6cc6 |
|
BLAKE2b-256 | 9a9bfe380a472db1fbd18038dd90399360ee4b184a22bee264f6997e480e87fc |