Skip to main content

Thai natural language processing library

Project description

PyThaiNLP Logo

PyThaiNLP 1.7

Codacy Badgepypi Build Status Build status Coverage Status License

PyThaiNLP is a Python library for natural language processing (NLP) of Thai language.

PyThaiNLP features include Thai word and subword segmentations, soundex, romanization, part-of-speech taggers, and spelling corrections.

What's new in version 1.7 ?

  • Deprecate Python 2 support
  • Refactor pythainlp.tokenize.pyicu for readability
  • Add Thai NER model to pythainlp.ner
  • thai2vec v0.2 - larger vocab, benchmarking results on Wongnai dataset
  • Sentiment classifier based on ULMFit and various product review datasets
  • Add ULMFit utility to PyThaiNLP
  • Add Thai romanization model thai2rom
  • Retrain POS-tagging model
  • Improved word_tokenize (newmm, mm) and dict_word_tokenize
  • Documentation added

Install

pip install pythainlp

Note for Windows: marisa-trie wheels can be obtained from https://www.lfd.uci.edu/~gohlke/pythonlibs/#marisa-trie Install it with pip, for example: pip install marisa_trie‑0.7.5‑cp36‑cp36m‑win32.whl

Links

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

pythainlp-1.7.1-py3-none-any.whl (10.3 MB view details)

Uploaded Python 3

File details

Details for the file pythainlp-1.7.1-py3-none-any.whl.

File metadata

  • Download URL: pythainlp-1.7.1-py3-none-any.whl
  • Upload date:
  • Size: 10.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.6

File hashes

Hashes for pythainlp-1.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f57b3f81cc836f61b60c3fd80b686713b3d1d8cc97d796ba7ec8bc0f514484d6
MD5 9d6dc5acd107a949d796e882d7a9f6ac
BLAKE2b-256 4bcf9beb2bcb6370e86f33d3b07cac514bf29352e3cb826828b00c1ca3efac72

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page