Noah's Sentiment Classifier
A simple ensemble sentiment classifier using TextBlob, VADER, and Transformers (including Roberta).
Installation
pip install noahs_sentiment_classifier
Code Sample
from noahs_sentiment_classifier import classify, classify_textblob, classify_vader, classify_transformers, classify_roberta
value = classify("i hate you")
# value will be either "hostile","friendly","neutral"
# or None if there is uncertainty
value2 = classify_textblob("i love you")
# value2 will be either "hostile","friendly","neutral"
Release files for noahs-sentiment-classifier 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| noahs_sentiment_classifier-0.1.5.tar.gz | 3.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| noahs_sentiment_classifier-0.1.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.5 kB
Release files / noahs_sentiment_classifier-0.1.5.tar.gz
| Download URL | noahs_sentiment_classifier-0.1.5.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
10ad8eeb3fa18d6ed965fe592eba73af5b71c5efcfd1680dd749d5a5bf3d9a95
|
|
BLAKE2b-256 checksum How to use checksums |
a3f0031ee040123db5f4ac6755af3c932dc86a6efe1251eef877f94ddb42e1c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.4
|
Release files / noahs_sentiment_classifier-0.1.5-py3-none-any.whl
| Download URL | noahs_sentiment_classifier-0.1.5-py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eb3fe2a043d51b47df165a5ef19214e51da2435746f3da24e9dc6f65e43198a9
|
|
BLAKE2b-256 checksum How to use checksums |
369f49c5c86645054edcabf4f4de90dd076d3c6885a30e46d4926883125742fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.4
|