Skip to content

Latest commit

 

History

History
72 lines (45 loc) · 1.79 KB

index.rst

File metadata and controls

72 lines (45 loc) · 1.79 KB

pyopenjtalk

A python wrapper for OpenJTalk. The package consists of two core components:

  • Text processing frontend based on OpenJTalk
  • Speech synthesis backend using HTSEngine

https://github.com/r9y9/pyopenjtalk

Installation

The latest release is availabe on pypi. You can install it by:

pip install pyopenjtalk

Workaround for ValueError: numpy.ndarray size changed, may indicate binary incompatibility

This type of errors comes from the Numpys' ABI breaking changes. If you see ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject or similar, please make sure to install numpy first, and then install pyopenjtalk by:

pip install pyopenjtalk --no-build-isolation

or:

pip install git+https://github.com/r9y9/pyopenjtalk --no-build-isolation

The option --no-build-isolation tells pip not to create a build environment, so the pre-installed numpy is used to build the packge. Hense there should be no Numpy's ABI issues.

.. toctree::
   :maxdepth: 1
   :caption: Notebooks

   notebooks/Demo.ipynb

Please check the usage through the demo notebook.

.. toctree::
  :maxdepth: 2
  :caption: Package reference

  pyopenjtalk
  openjtalk
  htsengine

.. toctree::
    :maxdepth: 1
    :caption: Meta information

    changelog

Indices and tables