clovaTTS-0.1.2
توضیحات
A TTS Wrapper for Naver Clova Speech Synthesis API
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | clovaTTS-0.1.2 |
| نام | clovaTTS |
| نسخه کتابخانه | 0.1.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Minsu Jang |
| ایمیل نویسنده | minsu@etri.re.kr |
| آدرس صفحه اصلی | https://github.com/zebehn/clovaTTS |
| آدرس اینترنتی | https://pypi.org/project/clovaTTS/ |
| مجوز | MIT |
# clovaTTS
clova-tts performs text-to-speech using [Naver Clova Speech Synthesis API](https://developers.naver.com/products/clova/tts/).
## Installation
```
pip install clovaTTS
```
## Quickstart
```
from clovaTTS import clovaTTS
# clovaTTS can save sound data in an internal cache and reuse it. cache_dir should exist.
# Default: use_cache=False
tts = clovaTTS("mijin", "<client_id>", "<client_secret>", use_cache=True, cache_dir="/home/ttscache")
# Input text (in Korean)
text = "그래요. 많은 분들이 저를 찾고 있지요."
# Perform Text-to-Speech
speech = tts.tts(text)
# Save the output into a file
tts.save("output.mp3", speech)
```
## Contact
Any questions or assistance? Please contact me at minsu(at)etri.re.kr.
نحوه نصب
نصب پکیج whl clovaTTS-0.1.2:
pip install clovaTTS-0.1.2.whl
نصب پکیج tar.gz clovaTTS-0.1.2:
pip install clovaTTS-0.1.2.tar.gz