Skip to main content

A python package for sentiment analysis written using pytorch framework

Project description

Twitter Sentiment analyzer

Sentiment analysis is the task of determining the sentiment of a given expression in natural language, It is essentially a multiclass text classification text where the given input text is classified into positive, neutral, or negative sentiment. But the number of classes can vary according to the nature of the training dataset. This project aims to build a sentiment analyzer specifically for twitter domain.

Why a Custom model for twitter domain?

Simply put, a Tweet is a message sent on Twitter. Most of the tweets do not follow normal English grammar and vocabulary mainly due to the limitation of the number of characters allowed in a tweet. This requires special care to yield better performance, hence this project.

Install

!pip install twittersentiment

Examples

  • Using pretrained model

basic

  • You can also train your own mode with custom dataset and your choice of word embedding, see examples

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

twittersentiment-0.0.3.tar.gz (3.6 MB view hashes)

Uploaded Source

Built Distribution

twittersentiment-0.0.3-py3-none-any.whl (3.6 MB view hashes)

Uploaded Python 3

Supported by

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