Skip to main content

NaverTTS (NAVER Text-to-Speech), a Python library and CLI tool to interface with NAVER Papago text-to-speech API

Project description

NaverTTS

NaverTTS (NAVER Text-to-Speech), a Python library and CLI tool to interface with NAVER Papago's text-to-speech API. Writes spoken mp3 data to a file, a file-like object (bytestring) for further audio manipulation, or stdout.

PyPI version Python versions PyPi Downloads Travis CI Build

Features

  • Customizable speech-specific sentence tokenizer that allows for unlimited lengths of text to be read, all while keeping proper intonation, abbreviations, decimals and more;
  • Customizable text pre-processors which can, for example, provide pronunciation corrections;
  • Automatic retrieval of supported languages.

Installation

$ pip install NaverTTS

Quickstart

Command Line:

$ navertts-cli --output hello.mp3 hello

Module:

>>> from navertts import NaverTTS
>>> tts = NaverTTS('hello')
>>> tts.save('hello.mp3')

Licence

This project was adapted from gTTS under the The MIT License (MIT). gTTS Copyright © 2014-2019 Pierre Nicolas Durette. NaverTTS Copyright © 2019 Scott Gigante.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for NaverTTS, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size NaverTTS-0.1.1-py3-none-any.whl (24.6 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size NaverTTS-0.1.1.tar.gz (20.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page