Provides RHVoice data for rhvoice-wrapper-bin
Project description
This package contain only data, rhvoice-wrapper-bin install it yourself
rhvoice-wrapper-data
Provides RHVoice voices and languages for rhvoice-wrapper-bin
.
rhvoice-wrapper-bin
Provides RHVoice libraries for rhvoice-wrapper
. Depends on rhvoice-wrapper-data
, that contains languages and voices.
If this package installed, rhvoice-wrapper
will automatically use it by default.
Install
pip install rhvoice-wrapper-bin --only-binary rhvoice-wrapper-bin
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-bin --no-binary rhvoice-wrapper-bin
Usage
rhvoice-wrapper
will automatically use data path from rhvoice-wrapper-bin
(but of course of 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-bin | grep Location | awk '{print $2}')/rhvoice_wrapper_bin/lib/
python3 -u <script using rhvoice_wrapper>
Get info from library
import rhvoice_wrapper_bin
# All the paths will None in error
# Contains path to the RHVoice library
print(rhvoice_wrapper_bin.lib_path)
# Contains path to the RHVoice data
print(rhvoice_wrapper_bin.data_path)
# Contains path to the RHVoice libraries. Must be set as dynamic libraries path
print(rhvoice_wrapper_bin.LIBS_PATH)
# Contains path to the rhvoice-wrapper-data
print(rhvoice_wrapper_bin.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
Built Distribution
Hashes for rhvoice-wrapper-data-0.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7bd677273bfb28ac45b2edbfc003819ea031b06923e90fdebf79c508ca005d57 |
|
MD5 | 028246fb03ceb23e6ed959f1e38979e5 |
|
BLAKE2b-256 | c8378de0117e4a712b8b0ad26c2ec28a09289f1af634f4d2ea3760333237f9bd |
Hashes for rhvoice_wrapper_data-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76b44d6df9c4e5fc12941b83504ee6bcc9d2ee6fa7a6f7c5c513d827838c0818 |
|
MD5 | a280c20e754c7814a821f57c8a5cd191 |
|
BLAKE2b-256 | d813dd2bbb8bf70a03f7e79f8f084fa49dcf308ad0eda2a323b868700bafb594 |