🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

Leye-classifer-v2

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Leye-classifer-v2

A sentiment lexicon algorithm to classify pidgin English and English text into positive, negative or neutral

0.0.2
PyPI
Maintainers
1

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

Keywords

sentiment analysis

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts