Skip to main content

A sentiment lexicon algorithm to classify pidgin English and English text into positive, negative or neutral

Project description

Hello, you are welcome to Leye classifier

A sentiment lexicon algorithm to classify pidgin English and English text into positive, negative or neutral

To use this system, you can enter raw text directly or enter your document name which should be in a csv file format (for example, data.csv). You need to name the column as 'text'. The system creates new column for score and class. You should expect the output as shown below.

        text     score     class

the bank is good 2 positive

How to use the packages

pip install Leye

from sentileye.polarity import result

Follow the instructions, enter your csv filename (for example, data.csv) or your raw text directly to classify. NB: filename - the csv file must be in your current working directory

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

Leye_classifer_v2-0.0.2.tar.gz (1.8 kB view hashes)

Uploaded Source

Built Distribution

Leye_classifer_v2-0.0.2-py3-none-any.whl (2.5 kB 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