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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6785e7374f2f05878b5ee2ad193a1e992ae0a91656d1d042dcec6c5e37a78fd8 |
|
MD5 | 2f55868025264a785e1461a77d65c2fd |
|
BLAKE2b-256 | 685d7878773fd57097cbe21c14104f91ee9cd61ac0b1f79f747c8217d621118f |
File details
Details for the file Leye_classifer_v2-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: Leye_classifer_v2-0.0.2-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3549cee81431435c2e1ee6f31ee37596014b71ee1ea8887460f4f536d7a2d620 |
|
MD5 | eace2f2d49ce8497bb2f57f2f0f29027 |
|
BLAKE2b-256 | 6923342cce85214db560bb21e15785615d356eb551840aae760ae40d37c5da0e |