A combination of classification implementations for finding if text is 'friendly', 'hostile', or 'neutral'
Project description
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"
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file noahs_sentiment_classifier-0.1.5.tar.gz.
File metadata
- Download URL: noahs_sentiment_classifier-0.1.5.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
10ad8eeb3fa18d6ed965fe592eba73af5b71c5efcfd1680dd749d5a5bf3d9a95
|
|
| MD5 |
562a79666a25e447da46119c3a287141
|
|
| BLAKE2b-256 |
a3f0031ee040123db5f4ac6755af3c932dc86a6efe1251eef877f94ddb42e1c4
|
File details
Details for the file noahs_sentiment_classifier-0.1.5-py3-none-any.whl.
File metadata
- Download URL: noahs_sentiment_classifier-0.1.5-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb3fe2a043d51b47df165a5ef19214e51da2435746f3da24e9dc6f65e43198a9
|
|
| MD5 |
c15df44d63dc729ab895edaf40450ac8
|
|
| BLAKE2b-256 |
369f49c5c86645054edcabf4f4de90dd076d3c6885a30e46d4926883125742fe
|