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 details)

Uploaded Source

Built Distribution

Leye_classifer_v2-0.0.2-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file Leye_classifer_v2-0.0.2.tar.gz.

File metadata

  • Download URL: Leye_classifer_v2-0.0.2.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for Leye_classifer_v2-0.0.2.tar.gz
Algorithm Hash digest
SHA256 6785e7374f2f05878b5ee2ad193a1e992ae0a91656d1d042dcec6c5e37a78fd8
MD5 2f55868025264a785e1461a77d65c2fd
BLAKE2b-256 685d7878773fd57097cbe21c14104f91ee9cd61ac0b1f79f747c8217d621118f

See more details on using hashes here.

File details

Details for the file Leye_classifer_v2-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for Leye_classifer_v2-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3549cee81431435c2e1ee6f31ee37596014b71ee1ea8887460f4f536d7a2d620
MD5 eace2f2d49ce8497bb2f57f2f0f29027
BLAKE2b-256 6923342cce85214db560bb21e15785615d356eb551840aae760ae40d37c5da0e

See more details on using hashes here.

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