pythainlp5.0.5
pythainlp5.0.5
Published
Thai Natural Language Processing library
pip install pythainlp
Package Downloads
Authors
Project URLs
Requires Python
>=3.7
Dependencies
- requests
>=2.22.0
- backports.zoneinfo
; python_version < "3.9"
- tzdata
; sys_platform == "win32"
- khamyo
>=0.2.0; extra == "abbreviation"
- attacut
>=1.0.6; extra == "attacut"
- PyYAML
>=5.3.1; extra == "benchmarks"
- numpy
>=1.22; extra == "benchmarks"
- pandas
>=0.24; extra == "benchmarks"
- spacy
>=3.0; extra == "coreference-resolution"
- fastcoref
>=2.1.5; extra == "coreference-resolution"
- spacy-thai
>=0.7.1; extra == "dependency-parsing"
- ufal.chu-liu-edmonds
>=1.0.2; extra == "dependency-parsing"
- transformers
>=4.22.1; extra == "dependency-parsing"
- multiel
>=0.5; extra == "el"
- esupar
>=1.3.8; extra == "esupar"
- numpy
; extra == "esupar"
- transformers
>=4.22.1; extra == "esupar"
- PyYAML
>=5.3.1; extra == "full"
- attacut
>=1.0.4; extra == "full"
- emoji
>=0.5.1; extra == "full"
- epitran
>=1.1; extra == "full"
- fairseq
>=0.10.0; extra == "full"
- gensim
>=4.0.0; extra == "full"
- nltk
>=3.3; extra == "full"
- numpy
>=1.22; extra == "full"
- pandas
>=0.24; extra == "full"
- pyicu
>=2.3; extra == "full"
- sacremoses
>=0.0.41; extra == "full"
- sentencepiece
>=0.1.91; extra == "full"
- ssg
>=0.0.8; extra == "full"
- torch
>=1.0.0; extra == "full"
- fastai
<2.0; extra == "full"
- bpemb
>=0.3.2; extra == "full"
- transformers
>=4.22.1; extra == "full"
- sefr-cut
>=1.1; extra == "full"
- phunspell
>=0.1.6; extra == "full"
- spylls
>=0.1.5; extra == "full"
- symspellpy
>=6.7.6; extra == "full"
- oskut
>=1.3; extra == "full"
- nlpo3
>=1.2.2; extra == "full"
- onnxruntime
>=1.10.0; extra == "full"
- thai-nner
; extra == "full"
- wunsen
>=0.0.3; extra == "full"
- wtpsplit
>=1.0.1; extra == "full"
- spacy-thai
>=0.7.1; extra == "full"
- spacy
>=3.0; extra == "full"
- fastcoref
>=2.1.5; extra == "full"
- ufal.chu-liu-edmonds
>=1.0.2; extra == "full"
- panphon
>=0.20.0; extra == "full"
- sentence-transformers
>=2.2.2; extra == "full"
- khamyo
>=0.2.0; extra == "full"
- fastai
<2.0; extra == "generate"
- pyicu
>=2.3; extra == "icu"
- epitran
>=1.1; extra == "ipa"
- numpy
>=1.22; extra == "ml"
- torch
>=1.0.0; extra == "ml"
- transformers
>=4.6.0; extra == "mt5"
- sentencepiece
>=0.1.91; extra == "mt5"
- nlpo3
>=1.2.2; extra == "nlpo3"
- sentencepiece
>=0.1.91; extra == "onnx"
- numpy
>=1.22; extra == "onnx"
- onnxruntime
>=1.10.0; extra == "onnx"
- oskut
>=1.3; extra == "oskut"
- sefr-cut
>=1.1; extra == "sefr-cut"
- spacy-thai
>=0.7.1; extra == "spacy-thai"
- phunspell
>=0.1.6; extra == "spell"
- spylls
>=0.1.5; extra == "spell"
- symspellpy
>=6.7.6; extra == "spell"
- ssg
>=0.0.8; extra == "ssg"
- bpemb
; extra == "textaugment"
- gensim
>=4.0.0; extra == "textaugment"
- emoji
>=0.5.1; extra == "thai2fit"
- gensim
>=4.0.0; extra == "thai2fit"
- numpy
>=1.22; extra == "thai2fit"
- numpy
>=1.22; extra == "thai2rom"
- torch
>=1.0.0; extra == "thai2rom"
- thai-nner
; extra == "thai-nner"
- ufal.chu-liu-edmonds
>=1.0.2; extra == "transformers-ud"
- transformers
>=4.22.1; extra == "transformers-ud"
- fairseq
>=0.10.0; extra == "translate"
- sacremoses
>=0.0.41; extra == "translate"
- sentencepiece
>=0.1.91; extra == "translate"
- torch
>=1.0.0; extra == "translate"
- transformers
>=4.6.0; extra == "translate"
- transformers
>=4.6.0; extra == "wangchanberta"
- sentencepiece
>=0.1.91; extra == "wangchanberta"
- transformers
>=4.6.0; extra == "wangchanglm"
- sentencepiece
>=0.1.91; extra == "wangchanglm"
- pandas
>=0.24; extra == "wangchanglm"
- panphon
>=0.20.0; extra == "word-approximation"
- nltk
>=3.3; extra == "wordnet"
- sentence-transformers
>=2.2.2; extra == "wsd"
- transformers
>=4.6.0; extra == "wtp"
- wtpsplit
>=1.0.1; extra == "wtp"
- wunsen
>=0.0.1; extra == "wunsen"
PyThaiNLP is a Python library for Thai natural language processing. The library provides functions like word tokenization, part-of-speech tagging, transliteration, soundex generation, spell checking, and date and time parsing/formatting.
Website: pythainlp.github.io
Install
For stable version:
pip install pythainlp
For development version:
pip install --upgrade --pre pythainlp
Some functionalities, like named-entity recognition, require extra packages. See https://github.com/PyThaiNLP/pythainlp for installation options.