pythainlp5.1.2
pythainlp5.1.2
Published
Thai Natural Language Processing library
pip install pythainlp
Package Downloads
Authors
Project URLs
Requires Python
>=3.7
Dependencies
- backports.zoneinfo
; python_version < "3.9" - requests
>=2.31 - tzdata
; sys_platform == "win32" - khamyo
>=0.2.0; extra == "abbreviation" - attacut
>=1.0.6; extra == "attacut" - PyYAML
>=5.4.1; extra == "benchmarks" - numpy
>=1.22; extra == "benchmarks" - pandas
>=0.24; extra == "benchmarks" - fastcoref
>=2.1.5; extra == "coreference-resolution" - spacy
>=3.0; extra == "coreference-resolution" - spacy_thai
>=0.7.1; extra == "dependency-parsing" - transformers
>=4.22.1; extra == "dependency-parsing" - ufal.chu-liu-edmonds
>=1.0.2; extra == "dependency-parsing" - multiel
>=0.5; extra == "el" - esupar
>=1.3.8; extra == "esupar" - numpy
; extra == "esupar" - transformers
>=4.22.1; extra == "esupar" - 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" - sentencepiece
>=0.1.91; extra == "mt5" - transformers
>=4.6.0; extra == "mt5" - nlpo3
>=1.3.1; extra == "nlpo3" - numpy
>=1.22; extra == "onnx" - onnxruntime
>=1.10.0; extra == "onnx" - sentencepiece
>=0.1.91; 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" - thai_nner
; extra == "thai-nner" - 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" - 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.22.1; extra == "transformers-ud" - ufal.chu-liu-edmonds
>=1.0.2; extra == "transformers-ud" - sentencepiece
>=0.1.91; extra == "wangchanberta" - transformers
>=4.6.0; extra == "wangchanberta" - pandas
>=0.24; extra == "wangchanglm" - sentencepiece
>=0.1.91; extra == "wangchanglm" - transformers
>=4.6.0; 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" - PyYAML
>=5.4.1; extra == "compact" - nlpo3
>=1.3.1; extra == "compact" - numpy
>=1.22; extra == "compact" - pyicu
>=2.3; extra == "compact" - python-crfsuite
>=0.9.7; extra == "compact" - PyYAML
>=5.4.1; extra == "full" - attacut
>=1.0.4; extra == "full" - bpemb
>=0.3.2; extra == "full" - emoji
>=0.5.1; extra == "full" - epitran
>=1.1; extra == "full" - fairseq
>=0.10.0; extra == "full" - fastai
<2.0; extra == "full" - fastcoref
>=2.1.5; extra == "full" - gensim
>=4.0.0; extra == "full" - khamyo
>=0.2.0; extra == "full" - nlpo3
>=1.3.1; extra == "full" - nltk
>=3.3; extra == "full" - numpy
>=1.22; extra == "full" - onnxruntime
>=1.10.0; extra == "full" - oskut
>=1.3; extra == "full" - pandas
>=0.24; extra == "full" - panphon
>=0.20.0; extra == "full" - phunspell
>=0.1.6; extra == "full" - pyicu
>=2.3; extra == "full" - sacremoses
>=0.0.41; extra == "full" - sefr_cut
>=1.1; extra == "full" - sentencepiece
>=0.1.91; extra == "full" - sentence-transformers
>=2.2.2; extra == "full" - spacy
>=3.0; extra == "full" - spacy_thai
>=0.7.1; extra == "full" - spylls
>=0.1.5; extra == "full" - ssg
>=0.0.8; extra == "full" - symspellpy
>=6.7.6; extra == "full" - thai_nner
; extra == "full" - torch
>=1.0.0; extra == "full" - transformers
>=4.22.1; extra == "full" - ufal.chu-liu-edmonds
>=1.0.2; extra == "full" - wtpsplit
>=1.0.1; extra == "full" - wunsen
>=0.0.3; extra == "full"
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.