Skip to main content

Python rapper module of open_jtalk

Project description


Python rapper module of open_jtalk


pip install jtalkpy

In order to use this module, open_jtalk command must be able to use. See OpenJtalk.

For Ubuntu system

sudo apt-get install open-jtalk open-jtalk-mecab-naist-jdic hts-voice-nitech-jp-atr503-m001

dict_dir should be /var/lib/mecab/dic/open-jtalk/naist-jdic

voice_file should be /usr/share/hts-voice/nitech-jp-atr503-m001/nitech_jp_atr503_m001.htsvoice

For other systems

Pleanse install from souce.


There are many open source HTS voice model files.

This page (Japanse) introduces many models.


from jtalkpy import Jtalk
dict_dir = "/var/lib/mecab/dic/open-jtalk/naist-jdic"
voice_file = "/usr/share/hts-voice/nitech-jp-atr503-m001/nitech_jp_atr503_m001.htsvoice"
jtalk = Jtalk(dict_dir, voice_file)
jtalk.from_string("こんにちは、世界", output_file="/home/ubuntu/jtalk_wavs/hello.wav")

Open Jtalk options can be set at initialization of Jtalk object. And when from_string is called, you can also overwrite these options temporary.


Feel free to create pull request.

  1. Fork it ( )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request



Project details

Download files

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

Source Distribution

jtalkpy-1.0.0.tar.gz (4.8 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page