panphon
Tools for using the International Phonetic Alphabet with phonological features
Decision gist · record as of 2026-08-14
Yes, if you work with IPA data or phonological features in research or NLP. The package is stable, has no known vulnerabilities, and offers a well-established API backed by academic research. The aging status (428 days since release) is a minor concern but not a blocker—the library is mature and the recent commit activity suggests maintenance. Install it for phonetic feature analysis; don't expect rapid feature development.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with a pure-Python wheel and eight runtime dependencies including standard data-science libraries (numpy, pandas) and text processing tools (regex, editdistance).
- Last commit was 2025-10-22 but the package is aging—428 days since the last release.
License · maintenance · safety
MIT (permissive) — MIT license is permissive; you can use, modify, and distribute PanPhon with minimal restrictions, making it suitable for both open-source and commercial projects.
last release 2025-06-12 (428 days) · last repo commit 2025-10-22 · 322 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 161,708 downloads/mo, #10,623 on PyPI
Alternatives
Verify before relying
import panphon
ft = panphon.FeatureTable()
segments = ft.word_fts(u'swit')
feature_array = ft.word_array(['syl', 'son', 'cont'], u'sɑlti')- Whether the 428-day gap since last release indicates active maintenance or dormancy despite recent commits
- Performance characteristics when processing large IPA corpora or real-time phonetic analysis
- Completeness of IPA segment coverage and accuracy of articulatory feature mappings
What it is and what it does
PanPhon is a phonological database and Python library that encodes the relationship between IPA (International Phonetic Alphabet) segments and their articulatory feature representations. It provides a FeatureTable class that lets you query phonetic properties of individual sounds or entire words, convert speech segments into numeric feature vectors, and compute distances between sounds based on their phonological features rather than simple string edit distance.
The package includes tools for pattern matching on feature sets, sonority calculations, and multiple distance metrics (Levenshtein, feature-based edit distance, and Dolgopolsky equivalence classes). It depends on numpy, pandas, regex, editdistance, and munkres for its core operations. The library is designed for linguists, speech researchers, and NLP practitioners who need to work with phonetic data programmatically.
Use it for
- Compute phonological similarity between IPA transcriptions for speech recognition or dialect comparison tasks
- Convert phonetic words into numeric feature matrices for machine learning on phonological data
- Validate and analyze IPA text for well-formedness and articulatory properties in linguistic research
- Build phonetic pattern matchers that operate on feature sets rather than exact character matches
- Calculate sonority scores and feature-based edit distances for phonological rule application
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you work with IPA data or phonological features in research or NLP.
The package is stable, has no known vulnerabilities, and offers a well-established API backed by academic research. The aging status (428 days since release) is a minor concern but not a blocker—the library is mature and the recent commit activity suggests maintenance. Install it for phonetic feature analysis; don't expect rapid feature development.
Install
panphon on PyPI
Before you install
Low install friction with a pure-Python wheel and eight runtime dependencies including standard data-science libraries (numpy, pandas) and text processing tools (regex, editdistance). Last commit was 2025-10-22 but the package is aging—428 days since the last release.
License in practice
MIT license is permissive; you can use, modify, and distribute PanPhon with minimal restrictions, making it suitable for both open-source and commercial projects.
Quickstart
import panphon
ft = panphon.FeatureTable()
segments = ft.word_fts(u'swit')
feature_array = ft.word_array(['syl', 'son', 'cont'], u'sɑlti')
Verify before relying
- Whether the 428-day gap since last release indicates active maintenance or dormancy despite recent commits
- Performance characteristics when processing large IPA corpora or real-time phonetic analysis
- Completeness of IPA segment coverage and accuracy of articulatory feature mappings
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 8 packagessetuptoolsunicodecsvPyYAMLregexnumpyeditdistancemunkrespandas |
| Maintenance | Aging 428 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 161,708 / month, #10,623 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Operating System :: OS IndependentProgramming Language :: Python :: 3Topic :: Software Development :: Libraries :: Python ModulesTopic :: Text Processing :: Linguistic |
Evidence: panphon-0.22.2-py2.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 › “IPA phonetic features”
- panphonPanPhon maps International Phonetic Alphabet (IPA) segments to…
- gruut-ipaGruut IPA parses, analyzes, and converts International Phonetic…
- 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 phonemizer · orthography2ipa · gruut-ipa · epitran · phonemizer-fork · pyphonetics · gruut-lang-en · praat-parselmouth · segments · phonetics