PyThaiNLP/pythainlp
Thai natural language processing in Python
What it solves
PyThaiNLP is a comprehensive library for Thai Natural Language Processing (NLP), designed to be a Thai-focused counterpart to NLTK. It provides the essential linguistic analysis tools needed to process and analyze Thai text, which often lacks clear word boundaries, making standard NLP tasks more challenging.
How it works
The library provides a set of Python functions and models to handle various Thai linguistic tasks. It includes built-in Thai character sets, word lists, and stop words, and can be extended with optional dependencies for machine translation and WordNet support. It also features a command-line interface (CLI) for quick data cataloging and analysis.
Who it’s for
Developers, researchers, and data scientists working with the Thai language who need a standardized set of tools for linguistic analysis, text processing, and Thai-specific linguistic utilities.
Highlights
- Linguistic Units: Supports sentence, word, and subword segmentation (tokenization).
- Tagging: Provides part-of-speech (POS) tagging.
- Transliteration: Handles Romanization and IPA conversion.
- ** umaCorrection:** Offers spelling suggestion and correction.
- Utilities: Includes tools for Soundex, collation, number-to-text (bahttext), and Thai-specific datetime formatting.
- Data: Includes built-in Thai character sets and stop words.
Related
- Project
- Project
- Project
- Project
- Project