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.3.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.3-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for noahs_sentiment_classifier-0.1.3.tar.gz
Algorithm Hash digest
SHA256 bfa96f4006bf3433d67a10958bb73cd539b17a8e56b1790569974336df3d73b5
MD5 3dea72c2b9fee96b69ff3dfb43118e64
BLAKE2b-256 fb0fc3192c7c15293e4a262153678938347d22d03324acae9d058b28f285e9da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for noahs_sentiment_classifier-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8a533aa9be12f0de4c47af50ff04581cdce5fef12b37af344349803246b28059
MD5 309b874f8b2f02c2244d7f4a26237928
BLAKE2b-256 1e01508ae6cdc447101bbc285a03be3eaaca5958bfe10262608401cec642c65c

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