Skip to main content

Python Thai Sentiment Analysis (PyThaiSA)

Build Status Coverage Status

Python Thai sentiment analysis (For Dev only)

Install

$ pip install https://github.com/PyThaiNLP/thai_sentiment_analysis/archive/master.zip

Use

Google Colab : https://colab.research.google.com/drive/17y4tc69O6Z-dr1LbgR5FlPYZK46xCKbY

from pythaisa import *
datatrain=[("ฉันรักคุณ","love"),("ผมก็รักคุณเหมือนกัน","love"),("เกลียดคุณ","neg"),("เกลียดเหมือนกัน","neg")]
m=model(name="test",train_dataset=datatrain)
m.train()
print(m.predict("ฉันรักคุณ"))

Metadata

Release files for pythaisa 0.2.1

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 pythaisa 0.2.1
File Interpreter ABI Platform Actions
pythaisa-0.2.1-py3-none-any.whl Python 3 none any Details for pythaisa-0.2.1-py3-none-any.whl

Release files / pythaisa-0.2.1-py3-none-any.whl

Download URL pythaisa-0.2.1-py3-none-any.whl
Size 7.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
570c948878d889ce853f4b8d827821fb431ff0448dc94f5301c21d3f60b22ec8
BLAKE2b-256 checksum
How to use checksums
28c0fcd42968c391d1c86b9f1219a2eec7596d09b776f5a1dcd353ff00ecf66b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.7

Security for pythaisa 0.2.1

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.

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