collection of different source of tts api for generating corpus.
Project description
tts-corpus-creator
collection of different source of tts api for generating corpus. feature:
- large scale tts
- support both free and charge source
Source
Charge
Google Cloud TTS
- install
pip install google-cloud-texttospeech
import os
os.environ["GOOGLE_APPLICATION_CREDENTIALS"] = "xxx.json"
from ttscorpus.source import GoogleCloud
gc = GoogleCloud()
gc("hi,there", 'output')
Free
Mac
- install ffmpeg
brew install ffmpeg
from ttscorpus.source import MAC
mac = MAC()
mac('hello, there, I am mac', 'output')
Google TTS
- install
pip install gtts
from ttscorpus.source import GoogleTTS
mac = GoogleTTS()
mac('sixty six year old badly. independence of mutual fund boards represents discrete defeat.', 'test')
Android TTS
- build android tts server app from: https://github.com/voidful/android-tts-server
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
ttscorpus-0.0.1.tar.gz
(5.3 kB
view details)
Built Distribution
File details
Details for the file ttscorpus-0.0.1.tar.gz
.
File metadata
- Download URL: ttscorpus-0.0.1.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 005100944ca56d28ea1d225a8013747aa7a0aad689b758c8f9a6f65df96632d8 |
|
MD5 | 4ad78df6cdb99136a82e86510d4a64bc |
|
BLAKE2b-256 | 050eb75d180f2074614d8269122803cf36ba4df0ac94998a3f605acb195eba8c |
File details
Details for the file ttscorpus-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: ttscorpus-0.0.1-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83f20cea9c845d2174fc90d254293227347fd919fdc5280a3f4f2c01921f420a |
|
MD5 | dee68b5511f5ce724212e162d6d20275 |
|
BLAKE2b-256 | 896ff4b076c66be8ba10873ba14de68307ecafa9805c746868f541025a7f0beb |