PyThaiNLP/pythainlp
Thai natural language processing in Python observed · 2026-08-28
Health v2 · maintenance only
98/100
- Activity 98
- Release rhythm 98
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 24.0
- age_days: 3723
- days_rel: 19
- days_push: 13
- n_releases_24m: 13
Adoption not part of the score
1149 stars · 300 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
PyThaiNLP is a Python library for Thai natural language processing, offering tokenization, POS tagging, transliteration, soundex, spell correction, and related linguistic utilities, comparable to NLTK but focused on Thai. It also ships a small command-line interface (thainlp) and bundled corpora and models under open licenses.
Use cases
- segment Thai text into words, sentences, and subwords
- part-of-speech tagging for Thai sentences
- romanize or transliterate Thai text to IPA or Latin script
- spell-check and correct Thai words
- generate Thai soundex codes for name matching
- convert numbers to Thai words and format Thai dates
- fix Thai-English keyboard mistyping
- preprocess Thai text for machine learning pipelines
When to choose
- you need Thai-specific NLP in Python with a mature, well-maintained toolkit
- you want multiple tokenization engines and bundled corpora under permissive licenses
- you need utilities like Thai soundex, collation, or bahttext that general NLP libraries lack
When to avoid
- your project processes only English or other non-Thai languages
- you need a general-purpose NLP framework with broad multilingual model support
- you require deep-learning model training rather than text processing utilities
Facets
library · maturity active
nlp parser sdk text-editors python cli cross-platform thai-language tokenization word-segmentation pos-tagging transliteration soundex spell-correction computational-linguistics natural-language-processing localization
6 sources
- readme: https://github.com/PyThaiNLP/pythainlp · fetched 2026-08-28 · 261af69074eb
- homepage: https://pythainlp.org/ · fetched 2026-08-29 · 6819e579a0de
- site_page: https://pythainlp.org/about · fetched 2026-08-29 · 9c88a8ea94c3
- registry_pypi: https://pypi.org/pypi/pythainlp/json · fetched 2026-08-29 · 2025ae7cd254
- site_page: https://pythainlp.org/resource · fetched 2026-08-29 · 5d568c31a6aa
- site_page: https://pythainlp.org/FAQ · fetched 2026-08-29 · efdea0677c9b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| PyThaiNLP/pythainlp | main | 98 |
For agents
markdown · JSON · MCP: product_card(name="PyThaiNLP/pythainlp")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem