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-0.0.1.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Leye-0.0.1-py3-none-any.whl (25.0 kB view details)

Uploaded Python 3

File details

Details for the file Leye-0.0.1.tar.gz.

File metadata

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

File hashes

Hashes for Leye-0.0.1.tar.gz
Algorithm Hash digest
SHA256 49f973682261ba427d212675023f44f50f14908001e58348de2543adf32cda88
MD5 256b1caddcdd0c34d2a0370f46e76c85
BLAKE2b-256 bdd89c8897a4ca95b2b0e6b0eea52040c208bc5826c25a5c82ba00b0fee8ed85

See more details on using hashes here.

File details

Details for the file Leye-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: Leye-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 25.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for Leye-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a16c88af1885c07ff6ad4a27915cacce775d313905cc7183c2e1624bed4057a2
MD5 8d641faa01e2008970803e19fc585127
BLAKE2b-256 3613267cac702e68686805e2495c2107269a77dc14ba7245931f396057eb6cc1

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