Skip to main content

A python wrapper for OpenJTalk

Project description

pyopenjtalk

PyPI Build Status License

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


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)

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