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 SentiLeye sentiment 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 (for example, data.csv). Kindly ensure your document is in csv file format. 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

from sentileye import polarity

then

polarity.result()

Follow the instructions, enter your csv filename (for example, data.csv) or your raw text directly to classify.

NB: filename - your 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-0.0.3.tar.gz (24.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_classifer-0.0.3-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file Leye_classifer-0.0.3.tar.gz.

File metadata

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

File hashes

Hashes for Leye_classifer-0.0.3.tar.gz
Algorithm Hash digest
SHA256 624156be40a63ba0c4aa1be873fa28f08dc4e7b01b1d3cc374f50c75399526c6
MD5 c2fa11757d1147eb08fa0f2ed91ac700
BLAKE2b-256 8ad241dfb58d4160d3295ad224787a96178f24f73f338af35138955e04ab3aff

See more details on using hashes here.

File details

Details for the file Leye_classifer-0.0.3-py3-none-any.whl.

File metadata

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

File hashes

Hashes for Leye_classifer-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1282c60d0558a66f65c101bc3776c03e79d697fa75e3910d4595bb1dc97eb173
MD5 fa9f7a241537758c46e47355a09d6f5b
BLAKE2b-256 e0a119892cc4c9f8d4d84786d4aeb85e79b2a0d9b1d87796774e9639ba1b1bbc

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