Skip to main content

An automatic sentiment analysis pakage

Project description

Automate sentiment analysis tool

Author : Sazin Reshed Samin

autosentiment is an open source library that generates sentiment type(positive,negetive,neutral) pie char,percentage,number and ternary value for pandas dataframe text portion.

- Usage

For analysis the seintiment type in positive,negetive or neutral

- Setup in normal environment and command window:

pip install autosentiment

- Setup in jupyter notebook:

!pip install autosentiment

- Import library :

import autosentiment as at

- The library is pandas dataframe dependent.

Have to get dataframe('text columns') and give to command.
Like df['text]


- sentiment type pie chart :


- sentiment type amount :

Get the sentiment type(postive,negetive,neutral numbers)


- sentiment percentage :

Get the percentage of sentiment type



Get the type of all text, here -1:negetive, 0:neutral, 1:positive


- An example usages

>>import autosentiment as at

>>import pandas as pd



>>Positve : 33.31 %, Negetive 20.96 %, Neutral : 45.72 %


>>{'positive  ': 1087, 'negetive': 684, 'neutral': 1492}


>>[-1, 1, 0.0, 0.0, 0.0, 0.0,.......,1]


pie chart

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

autosentiment-1.2.6.tar.gz (2.9 kB view hashes)

Uploaded source

Built Distribution

autosentiment-1.2.6-py3-none-any.whl (4.2 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page