epitran
Tools for transcribing languages into IPA.
Decision gist · record as of 2026-08-14
Yes. Epitran is actively maintained, has no known vulnerabilities, uses a permissive license, and offers low installation friction. It is well-suited for developers and researchers working with multilingual phonetic transcription, linguistic analysis, or speech processing. The main gotcha is that English G2P and Chinese/Cantonese support require external resources (Flite or dictionary files), so verify those dependencies match your use case before committing.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- English G2P requires separate installation of Flite (including lex_lookup) as noted in the documentation; Mandarin Chinese and Cantonese require a CC-CEDict or CC-Canto dictionary file passed to the constructor.
- Low friction installation with a pure Python wheel.
- Actively maintained with recent releases and a healthy repository signal (830 stars, last commit 2026-06-18).
License · maintenance · safety
MIT-Modern-Variant (permissive) — Licensed under MIT-Modern-Variant (permissive), allowing free use, modification, and distribution with minimal restrictions.
last release 2026-06-18 (57 days) · last repo commit 2026-06-18 · 830 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 107,211 downloads/mo, #12,626 on PyPI
Alternatives
Verify before relying
pip install epitran
import epitran
epi = epitran.Epitran('tur-Latn')
print(epi.transliterate('Düğün'))- Whether all five runtime dependencies (regex, panphon, marisa-trie, requests, jamo) are required for all language-script pairs or only for specific ones.
- Performance characteristics and typical latency for transliteration on typical text lengths.
- Coverage details: exactly how many language-script pairs are supported beyond the examples given.
What it is and what it does
Epitran is a Python library and command-line tool for converting orthographic text into IPA phonetic notation. It works by mapping characters or character sequences in a source language and script (identified by ISO 639-3 language code plus a four-letter script code like 'Latn' or 'Arab') to their corresponding IPA phonemes. The library includes optional preprocessing and postprocessing steps to handle languages where sound-symbol correspondence is complex (such as French and English), and it supports both simple transliteration and detailed phonetic analysis via methods like word_to_tuples, which returns structured data including character categories, case information, and phonetic vectors.
The package is designed for linguistic research, speech processing, and multilingual text analysis. It handles multiple scripts and languages through a unified interface, with special support for tonal languages via an optional tones parameter, and provides a Backoff class for graceful fallback across multiple language modes when processing mixed-script text. For English, Mandarin Chinese, and Cantonese, it uses grapheme-to-phoneme (G2P) models that may require external resources like Flite or dictionary files.
Use it for
- Convert English text to IPA for speech synthesis or linguistic analysis pipelines.
- Transliterate multilingual documents containing mixed scripts (e.g., Hindi with English loanwords) using the Backoff class.
- Extract phonetic vectors and segment-level data from words for machine learning models in speech or NLP tasks.
- Build pronunciation dictionaries or validate orthographic-to-phonetic mappings for language documentation.
- Process tonal languages like Vietnamese or Hokkien while preserving tone markers in IPA output.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Epitran is actively maintained, has no known vulnerabilities, uses a permissive license, and offers low installation friction. It is well-suited for developers and researchers working with multilingual phonetic transcription, linguistic analysis, or speech processing. The main gotcha is that English G2P and Chinese/Cantonese support require external resources (Flite or dictionary files), so verify those dependencies match your use case before committing.
Install
epitran on PyPI
Before you install
Low friction installation with a pure Python wheel. Actively maintained with recent releases and a healthy repository signal (830 stars, last commit 2026-06-18). Requires Python 3.10 or later and five runtime dependencies including regex, panphon, marisa-trie, requests, and jamo.
English G2P requires separate installation of Flite (including lex_lookup) as noted in the documentation; Mandarin Chinese and Cantonese require a CC-CEDict or CC-Canto dictionary file passed to the constructor.
License in practice
Licensed under MIT-Modern-Variant (permissive), allowing free use, modification, and distribution with minimal restrictions.
Quickstart
pip install epitran
import epitran
epi = epitran.Epitran('tur-Latn')
print(epi.transliterate('Düğün'))
Verify before relying
- Whether all five runtime dependencies (regex, panphon, marisa-trie, requests, jamo) are required for all language-script pairs or only for specific ones.
- Performance characteristics and typical latency for transliteration on typical text lengths.
- Coverage details: exactly how many language-script pairs are supported beyond the examples given.
Package facts
| License | MIT-Modern-Variant permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 5 packagesregexpanphonmarisa-trierequestsjamo |
| Maintenance | Actively maintained 57 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 107,211 / month, #12,626 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: Science/ResearchOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Topic :: Scientific/Engineering :: Artificial IntelligenceTopic :: Software Development :: Libraries :: Python ModulesTopic :: Text Processing :: Linguistic |
Evidence: epitran-1.35.2-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “text to IPA transliteration”
- epitranEpitran converts written text in various languages and scripts into…
- pythainlpPyThaiNLP provides Thai-language natural language processing tools…
- gruut-lang-enProvides English language data files for tokenization and IPA phoneme…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also orthography2ipa · panphon · phonemizer · transliterate · gruut-ipa · phonemizer-fork · indic-transliteration · misaki · silpa_common · cyrtranslit