# PyThaiTTS
Open Source Thai Text-to-speech library in Python
[Google Colab](https://colab.research.google.com/github/PyThaiNLP/PyThaiTTS/blob/dev/notebook/use_lunarlist_model.ipynb) | [Docs](https://pythainlp.github.io/PyThaiTTS/) | [Notebooks](https://github.com/PyThaiNLP/PyThaiTTS/tree/dev/notebook)
License: [Apache-2.0 License](https://github.com/PyThaiNLP/pythaitts/blob/main/LICENSE)
## Install
Install by pip:
> pip install pythaitts
## Usage
```python
from pythaitts import TTS
tts = TTS()
file = tts.tts("ภาษาไทย ง่าย มาก มาก", filename="cat.wav") # It will get wav file path.
wave = tts.tts("ภาษาไทย ง่าย มาก มาก",return_type="waveform") # It will get waveform.
```
You can see more at [https://pythainlp.github.io/PyThaiTTS/](https://pythainlp.github.io/PyThaiTTS/).
Raw data
{
"_id": null,
"home_page": "https://github.com/pythainlp/pythaitts",
"name": "PyThaiTTS",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "Thai,NLP,natural language processing,text analytics,text processing,localization,computational linguistics,text-to-speech",
"author": "Wannaphong",
"author_email": "wannaphong@yahoo.com",
"download_url": "https://files.pythonhosted.org/packages/69/ff/571ed575d23273b7349a1effcaf554f345741f6a52950a647b675e70b516/PyThaiTTS-0.3.0.tar.gz",
"platform": null,
"description": "# PyThaiTTS\nOpen Source Thai Text-to-speech library in Python\n\n[Google Colab](https://colab.research.google.com/github/PyThaiNLP/PyThaiTTS/blob/dev/notebook/use_lunarlist_model.ipynb) | [Docs](https://pythainlp.github.io/PyThaiTTS/) | [Notebooks](https://github.com/PyThaiNLP/PyThaiTTS/tree/dev/notebook)\n\nLicense: [Apache-2.0 License](https://github.com/PyThaiNLP/pythaitts/blob/main/LICENSE)\n\n## Install\n\nInstall by pip:\n\n> pip install pythaitts\n\n## Usage\n\n```python\nfrom pythaitts import TTS\n\ntts = TTS()\nfile = tts.tts(\"\u0e20\u0e32\u0e29\u0e32\u0e44\u0e17\u0e22 \u0e07\u0e48\u0e32\u0e22 \u0e21\u0e32\u0e01 \u0e21\u0e32\u0e01\", filename=\"cat.wav\") # It will get wav file path.\nwave = tts.tts(\"\u0e20\u0e32\u0e29\u0e32\u0e44\u0e17\u0e22 \u0e07\u0e48\u0e32\u0e22 \u0e21\u0e32\u0e01 \u0e21\u0e32\u0e01\",return_type=\"waveform\") # It will get waveform.\n```\n\nYou can see more at [https://pythainlp.github.io/PyThaiTTS/](https://pythainlp.github.io/PyThaiTTS/).\n",
"bugtrack_url": null,
"license": "Apache Software License 2.0",
"summary": "Open Source Thai Text-to-speech library in Python",
"version": "0.3.0",
"project_urls": {
"Bug Reports": "https://github.com/pythainlp/pythaitts/issues",
"Documentation": "https://github.com/pythainlp/pythaitts",
"Homepage": "https://github.com/pythainlp/pythaitts",
"Source": "https://github.com/pythainlp/pythaitts"
},
"split_keywords": [
"thai",
"nlp",
"natural language processing",
"text analytics",
"text processing",
"localization",
"computational linguistics",
"text-to-speech"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "cd3df542f496a6faf9d7dc75fc47869494c0a8e7951ebddab31f31c236125f6d",
"md5": "b82a581ce9d44698b38d74b6d87ab3f6",
"sha256": "2d4a72c3d2e5ef250875d17cda0bbc6be55ad84392c0b9c8ba96f5995b3c126f"
},
"downloads": -1,
"filename": "PyThaiTTS-0.3.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b82a581ce9d44698b38d74b6d87ab3f6",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 11819,
"upload_time": "2024-01-24T06:34:05",
"upload_time_iso_8601": "2024-01-24T06:34:05.791975Z",
"url": "https://files.pythonhosted.org/packages/cd/3d/f542f496a6faf9d7dc75fc47869494c0a8e7951ebddab31f31c236125f6d/PyThaiTTS-0.3.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "69ff571ed575d23273b7349a1effcaf554f345741f6a52950a647b675e70b516",
"md5": "0e467df636fd96be32ae59d0889fddd6",
"sha256": "7ca9834e2157907ea42ba4e543062bbc9cccb342468c34d726ba15d514e874e0"
},
"downloads": -1,
"filename": "PyThaiTTS-0.3.0.tar.gz",
"has_sig": false,
"md5_digest": "0e467df636fd96be32ae59d0889fddd6",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 10256,
"upload_time": "2024-01-24T06:34:07",
"upload_time_iso_8601": "2024-01-24T06:34:07.715209Z",
"url": "https://files.pythonhosted.org/packages/69/ff/571ed575d23273b7349a1effcaf554f345741f6a52950a647b675e70b516/PyThaiTTS-0.3.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-01-24 06:34:07",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "pythainlp",
"github_project": "pythaitts",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "pythaitts"
}