Skip to main content

ESPnet TTS Frontend

PyPI version Python Versions Downloads CI

A tools collection of text frontend for ESPnet tts recipes.

Install

pip install espnet_tts_frontend

Install with pyopenjtalk

  • Requires cmake and cython
git clone https://github.com/espnet/espnet_tts_frontend
cd espnet_tts_frontend/
python setup.py pyopenjtalk
# OR
# pip install --global-option=pyopenjtalk -e espnet_tts_frontend

FIXME(kamo): Support direct installation from git repo.

Usage

English:

tacotron_cleaner

Derived from https://github.com/keithito/tacotron

>>> import tacotron_cleaner.cleaners
>>> tacotron_cleaner.cleaners.custom_english_cleaners("(Hello-World);   &  jr. & dr.")
'HELLO WORLD, AND JUNIOR AND DOCTOR'

g2p_en

https://github.com/Kyubyong/g2p

>>> from g2p_en import G2p  # Automatically run downloading for the first time
[nltk_data] Downloading package averaged_perceptron_tagger to
...
>>> g2p = G2p()
>>> g2p("hello world")
['HH', 'AH0', 'L', 'OW1', ' ', 'W', 'ER1', 'L', 'D']

Japanese

jaconv

https://github.com/ikegami-yukino/jaconv/

>>> jaconv.normalize("”あらゆる” 現実を 〜 ’すべて’ 自分の ほうへ ねじ曲げたのだ。")
'"あらゆる" 現実を ー \'すべて\' 自分の ほうへ ねじ曲げたのだ。'

pyopenjtalk

https://github.com/r9y9/pyopenjtalk

# Automatically run downloading for the first time
>>> pyopenjtalk.g2p("あらゆる 現実を すべて 自分の ほうへ ねじ曲げたのだ。", kana=True)
'アラユル\u3000ゲンジツヲ\u3000スベテ\u3000ジブンノ\u3000ホーエ\u3000ネジマゲタノダ。'
>>> pyopenjtalk.g2p("あらゆる 現実を すべて 自分の ほうへ ねじ曲げたのだ。", kana=False)
'a r a y u r u pau g e N j i ts u o pau s u b e t e pau j i b u N n o pau h o o e pau n e j i m a g e t a n o d a'

Vietnamese

vietnamese_cleaner

>>> import vietnamese_cleaner.vietnamese_cleaner

Release files for espnet-tts-frontend 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for espnet-tts-frontend 0.0.4
File Size Uploaded
espnet_tts_frontend-0.0.4.tar.gz 10.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for espnet-tts-frontend 0.0.4
File Interpreter ABI Platform
espnet_tts_frontend-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 22.3 kB

Release files / espnet_tts_frontend-0.0.4.tar.gz

Download URL espnet_tts_frontend-0.0.4.tar.gz
Size 10.6 kB
Tags Source
SHA-256 checksum
How to use checksums
76fc9e8a1d13e699f727b533d4d7587e2631ece76c14e99cce5354872f5dea10
BLAKE2b-256 checksum
How to use checksums
e8091a96793b920271f9cd923a8fc62f158ef9f593af2a01a373e084c9e95ce9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 2, 2026.

Transparency log

Release files / espnet_tts_frontend-0.0.4-py3-none-any.whl

Download URL espnet_tts_frontend-0.0.4-py3-none-any.whl
Size 11.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e8fe37c69cb27c08e69179348bb1e3546a24a9375168db230f4f9ed8b24a10fd
BLAKE2b-256 checksum
How to use checksums
490f67eda7429cd8228492918dcc566fa0501d2b8cdf8b6ee06b3ab7affce8af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 2, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page