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.2.tar.gz (2.9 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.2-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for noahs_sentiment_classifier-0.1.2.tar.gz
Algorithm Hash digest
SHA256 26de9b763d75ec692b13f103d49ab7ef70b34960c5adae836b1e95d9f0232619
MD5 7ae2bcce95e823d07fcec9d87f967ec3
BLAKE2b-256 a97f58c2ec7153ea549ad968f818b9689945a630683e422708402a4e88ac2288

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for noahs_sentiment_classifier-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 549197a5274b1b5e9b0221e3d8e08224d08c54f95f3f2ab6e14f61bc6c7ad3ba
MD5 9917989e50742418f67694735c37b92a
BLAKE2b-256 d4da810efa39bbd23f91c259a705dd0ddcebe170a95dbdb97e1c488f3feb34d4

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