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
from ttscorpus.source import AndroidTTS
atts = AndroidTTS('http://xxxx:port')
atts(
"CHAPTER SIXTEEN I MIGHT HAVE TOLD YOU OF THE BEGINNING OF THIS LIAISON IN A FEW LINES BUT I WANTED YOU TO SEE EVERY STEP BY WHICH WE CAME I TO …",
'test')
Metadata
Release files for ttscorpus 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ttscorpus-0.0.2.tar.gz | 5.8 kB | Without provenance | Details for ttscorpus-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ttscorpus-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for ttscorpus-0.0.2-py3-none-any.whl |
Total release size: 10.4 kB
Release files / ttscorpus-0.0.2.tar.gz
| Download URL | ttscorpus-0.0.2.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0b036928c3da3236866c384bfe9b3a0959b50c81f18647fbc2110cf373012151
|
|
BLAKE2b-256 checksum How to use checksums |
7f1f0e74c32d25b2efb5d168ec838c5ed6aa0a9909b6fefeb4bb791e978381c2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / ttscorpus-0.0.2-py3-none-any.whl
| Download URL | ttscorpus-0.0.2-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5b4cce9942befb842c7a560b8cbcdfbcc27b80e45b2d333443f98bf101b0c02b
|
|
BLAKE2b-256 checksum How to use checksums |
f88ed703c36b7f1c50b998d08beccd4551947f073271617c76bc3117c3272866
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for ttscorpus 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.