Skip to main content

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

Metadata

Release files for Leye-classifer-v2 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Leye-classifer-v2 0.0.2
File Size Uploaded
Leye_classifer_v2-0.0.2.tar.gz 1.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for Leye-classifer-v2 0.0.2
File Interpreter ABI Platform
Leye_classifer_v2-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 4.3 kB

Release files / Leye_classifer_v2-0.0.2.tar.gz

Download URL Leye_classifer_v2-0.0.2.tar.gz
Size 1.8 kB
Tags Source
SHA-256 checksum
How to use checksums
6785e7374f2f05878b5ee2ad193a1e992ae0a91656d1d042dcec6c5e37a78fd8
BLAKE2b-256 checksum
How to use checksums
685d7878773fd57097cbe21c14104f91ee9cd61ac0b1f79f747c8217d621118f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release files / Leye_classifer_v2-0.0.2-py3-none-any.whl

Download URL Leye_classifer_v2-0.0.2-py3-none-any.whl
Size 2.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3549cee81431435c2e1ee6f31ee37596014b71ee1ea8887460f4f536d7a2d620
BLAKE2b-256 checksum
How to use checksums
6923342cce85214db560bb21e15785615d356eb551840aae760ae40d37c5da0e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page