Skip to main content
Tests Linux MacOS Windows Codecov
Documentation Doc
Release GitHub release (latest SemVer) PyPI downloads
Citation status DOI

Phonemizer -- foʊnmaɪzɚ

  • The phonemizer allows simple phonemization of words and texts in many languages.

  • Provides both the phonemize command-line tool and the Python function phonemizer.phonemize. See the package's documentation.

  • It is based on four backends: espeak, espeak-mbrola, festival and segments. The backends have different properties and capabilities resumed in table below. The backend choice is let to the user.

    • espeak-ng is a Text-to-Speech software supporting a lot of languages and IPA (International Phonetic Alphabet) output.

    • espeak-ng-mbrola uses the SAMPA phonetic alphabet instead of IPA but does not preserve word boundaries.

    • festival is another Tex-to-Speech engine. Its phonemizer backend currently supports only American English. It uses a custom phoneset, but it allows tokenization at the syllable level.

    • segments is a Unicode tokenizer that build a phonemization from a grapheme to phoneme mapping provided as a file by the user.

    espeak espeak-mbrola festival segments
    phone set IPA SAMPA custom user defined
    supported languages 100+ 35 US English user defined
    processing speed fast slow very slow fast
    phone tokens :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
    syllable tokens :x: :x: :heavy_check_mark: :x:
    word tokens :heavy_check_mark: :x: :heavy_check_mark: :heavy_check_mark:
    punctuation preservation :heavy_check_mark: :x: :heavy_check_mark: :heavy_check_mark:
    stressed phones :heavy_check_mark: :x: :x: :x:
    tie :heavy_check_mark: :x: :x: :x:

Citation

To refenrece the phonemizer in your own work, please cite the following JOSS paper.

@article{Bernard2021,
  doi = {10.21105/joss.03958},
  url = {https://doi.org/10.21105/joss.03958},
  year = {2021},
  publisher = {The Open Journal},
  volume = {6},
  number = {68},
  pages = {3958},
  author = {Mathieu Bernard and Hadrien Titeux},
  title = {Phonemizer: Text to Phones Transcription for Multiple Languages in Python},
  journal = {Journal of Open Source Software}
}

Licence

Copyright 2015-2021 Mathieu Bernard

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Metadata

Release files for phonemizer-fork 3.3.2

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

Source distribution (sdist)

Source distribution for phonemizer-fork 3.3.2
File Size Uploaded
phonemizer_fork-3.3.2.tar.gz 301.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for phonemizer-fork 3.3.2
File Interpreter ABI Platform
phonemizer_fork-3.3.2-py3-none-any.whl Python 3 none any Details

Total release size: 383.7 kB

Release files / phonemizer_fork-3.3.2.tar.gz

Download URL phonemizer_fork-3.3.2.tar.gz
Size 301.0 kB
Tags Source
SHA-256 checksum
How to use checksums
10e16e827d0443b087062e21b55e805c00989cf1343b2e81e734cae5f6c0cf69
BLAKE2b-256 checksum
How to use checksums
42fa9294d2f11890ca49d0bdac7a4da60cbe5686629bfd4987cae0ad75e051cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.21

Release files / phonemizer_fork-3.3.2-py3-none-any.whl

Download URL phonemizer_fork-3.3.2-py3-none-any.whl
Size 82.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
97305c76f4183b3825dae8f4c032265fe78c9946ce58c47d4b62161349264b74
BLAKE2b-256 checksum
How to use checksums
64f10dcce21b0ae16a82df4b6583f8f3ad8e55b35f7e98b6bf536a4dd225fa08
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.21
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