sea-g2p
Fast multilingual text-to-phoneme converter for South East Asian languages.
Decision gist · record as of 2026-08-14
Yes, if you need phonemization for Vietnamese, Thai, or Indonesian with English code-switching. The package is actively maintained, has no runtime dependencies, and is built for production use with fast batch processing. Install friction is moderate (compiled wheels) but manageable. Permissive license and zero known vulnerabilities make it safe to adopt. Not relevant if you only work with other languages.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; wheels are pre-compiled for specific platforms (Windows, Linux, macOS on x86_64 and ARM64).
- Medium install friction due to compiled wheels (cp310-abi3 binaries for multiple platforms), but pre-built wheels are available for Windows, Linux, and macOS.
- Active maintenance with recent release and no runtime dependencies.
License · maintenance · safety
permissive license (permissive) — Permissive license (Apache) allows commercial and private use without restriction, making it suitable for production TTS systems.
last release 2026-08-14 (0 days) · last repo commit 2026-08-14 · 112 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 168,557 downloads/mo, #10,444 on PyPI
Alternatives
Verify before relying
pip install sea-g2p
from sea_g2p import SEAPipeline
pipeline = SEAPipeline(lang="vi")
result = pipeline.run("Giá SP500 hôm nay là 4.200,5 điểm.")
print(result)- Actual throughput figures (41,000–500,000 sentences/s) on typical developer hardware; benchmarks cited are from 1,000,000-sentence dataset on Windows 11 CPython 3.12.
- Memory overhead and startup time in production; mmap design is described but real-world measurements not provided.
- Quality of phoneme output against other phonemizers; no comparative evaluation data in fact sheet.
What it is and what it does
SEA-G2P is a text-to-phoneme converter (grapheme-to-phoneme, or G2P) built in Rust and designed for Vietnamese, Thai, and Indonesian with seamless English code-switching. It takes raw text—including numbers, dates, abbreviations, and mixed-language passages—and outputs IPA phonemes grouped by syllable, suitable for feeding into a text-to-speech engine. The package handles the messy normalization and segmentation that each language requires: Vietnamese has 17 normalization stages, Thai requires word segmentation from a 91,865-word dictionary, and Indonesian uses a 172,557-word dictionary built from WikiPron and KBBI.
The core engine uses memory-mapped binary dictionaries and binary search for fast lookup, with automatic multithreading for batch inputs. It ships as pre-compiled wheels with zero runtime dependencies, so installation is straightforward on Windows, Linux, and macOS. The package is actively maintained and powers VieNeu-TTS, a Vietnamese text-to-speech model.
Use it for
- Building a Vietnamese, Thai, or Indonesian text-to-speech system that needs accurate phoneme sequences from raw text.
- Processing large batches of multilingual text with mixed English code-switching for phonetic analysis or speech synthesis.
- Normalizing and converting numbers, dates, and abbreviations to spoken form in Southeast Asian languages.
- Integrating phonemization into an on-device speech synthesis pipeline where startup time and memory footprint matter.
- Handling Thai text without spaces by automatic word segmentation and phoneme generation in a single pass.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need phonemization for Vietnamese, Thai, or Indonesian with English code-switching.
The package is actively maintained, has no runtime dependencies, and is built for production use with fast batch processing. Install friction is moderate (compiled wheels) but manageable. Permissive license and zero known vulnerabilities make it safe to adopt. Not relevant if you only work with other languages.
Install
sea-g2p on PyPI
Before you install
Medium install friction due to compiled wheels (cp310-abi3 binaries for multiple platforms), but pre-built wheels are available for Windows, Linux, and macOS. Active maintenance with recent release and no runtime dependencies.
Requires Python 3.10 or later; wheels are pre-compiled for specific platforms (Windows, Linux, macOS on x86_64 and ARM64).
License in practice
Permissive license (Apache) allows commercial and private use without restriction, making it suitable for production TTS systems.
Quickstart
pip install sea-g2p
from sea_g2p import SEAPipeline
pipeline = SEAPipeline(lang="vi")
result = pipeline.run("Giá SP500 hôm nay là 4.200,5 điểm.")
print(result)
Verify before relying
- Actual throughput figures (41,000–500,000 sentences/s) on typical developer hardware; benchmarks cited are from 1,000,000-sentence dataset on Windows 11 CPython 3.12.
- Memory overhead and startup time in production; mmap design is described but real-world measurements not provided.
- Quality of phoneme output against other phonemizers; no comparative evaluation data in fact sheet.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 0 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 168,557 / month, #10,444 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersIntended Audience :: Science/ResearchLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Topic :: Multimedia :: Sound/Audio :: SpeechTopic :: Scientific/Engineering :: Artificial Intelligence |
Evidence: sea_g2p-0.8.5-cp310-abi3-macosx_10_12_x86_64.whl; sea_g2p-0.8.5-cp310-abi3-macosx_11_0_arm64.whl; sea_g2p-0.8.5-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; sea_g2p-0.8.5-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; sea_g2p-0.8.5-cp310-abi3-win32.whl; sea_g2p-0.8.5-cp310-abi3-win_amd64.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 phoneme converter”
- sea-g2pConverts text to phonemes for Vietnamese, Thai, and Indonesian with…
- phonemizer-forkConverts text to phonetic representations (phones) in multiple…
- g2p-enConverts English text to phoneme sequences using dictionary lookup,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.
Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.
Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.
Install it if you work with Hugging Face Hub models or datasets.
LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.
hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.
Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.
Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.
Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.
See also misaki · g2p-en · pyvi · wetext · phonemizer · phonemizer-fork · gruut · pythainlp · Sastrawi · py-rust-stemmers