A python wrapper for OpenJTalk
Project description
pyopenjtalk
THIS IS ALPHA VERSION!
A python wrapper for OpenJTalk. Note that this is built on top of a modified version of OpenJTalk.
It's currently limited for text processing frontend functionality.
Installation
The package is based on cython and built on top of the shared library of the OpenJTalk. Please have a look at the travis.yml
and see how the shared library is installed. After you have installed the OpenJTalk shared library, then the installation of the package is just as follows:
pip install pyopenjtalk
Quick demo
In [1]: import pyopenjtalk
In [2]: pyopenjtalk.g2p("こんにちは")
Out[2]: 'k o N n i ch i w a'
In [3]: pyopenjtalk.g2p("こんにちは", kana=True)
Out[3]: 'コンニチワ'
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyopenjtalk-0.0.2.tar.gz
(680.1 kB
view hashes)