Skip to main content

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

noahs_sentiment_classifier-0.1.4.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

noahs_sentiment_classifier-0.1.4-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file noahs_sentiment_classifier-0.1.4.tar.gz.

File metadata

File hashes

Hashes for noahs_sentiment_classifier-0.1.4.tar.gz
Algorithm Hash digest
SHA256 fda671459258a529eff401b00e5523ea7967ca91e05e488b33f78362b64f1c0f
MD5 a48424fb98073335f9b1fab520cc9422
BLAKE2b-256 eaef1e7ad5223f847bc0cc6feeefa73c50a7114e0ed699a98ef1701fdb0d2c9f

See more details on using hashes here.

File details

Details for the file noahs_sentiment_classifier-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for noahs_sentiment_classifier-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 48a1d4257509f3c84c72e0eab6764eff313e4fbca00d25b375fc55f4868d2d15
MD5 87cc8ab816a1e96b4227158ef36d58a6
BLAKE2b-256 821aa7967cb8d6bcb276c76d4cc51325f7c6372335eb1bade5d2415ae4894854

See more details on using hashes here.

Supported by

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