Skip to main content

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

Metadata

Release files for pythainlp 1.7.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for pythainlp 1.7.2
File Interpreter ABI Platform Actions
pythainlp-1.7.2-py3-none-any.whl Python 3 none any Details for pythainlp-1.7.2-py3-none-any.whl

Release files / pythainlp-1.7.2-py3-none-any.whl

Download URL pythainlp-1.7.2-py3-none-any.whl
Size 10.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
58b46a7a46da92d253414662a493667444460613c78e4229dce9c315e0f2226c
BLAKE2b-256 checksum
How to use checksums
52e57ae100aa579620dcf0b797ab3463ec15eb0509f3cb51148b51d5260d8aa2
Upload date
Uploaded using Trusted Publishing?
What is 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.7

Security for pythainlp 1.7.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.7.2 This release

1 release file No provenance

1.6.0.1

1.4

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page