Skip to main content

Hello, you are welcome to PB_Sent 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 PB_Sent

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 PB-Sent 0.0.1

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

Source distribution (sdist)

Source distribution for PB-Sent 0.0.1
File Size Uploaded
PB_Sent-0.0.1.tar.gz 4.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for PB-Sent 0.0.1
File Interpreter ABI Platform
PB_Sent-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 51.5 kB

Release files / PB_Sent-0.0.1.tar.gz

Download URL PB_Sent-0.0.1.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
d7c2dccaaedbb5def5583994575ffc6f86d54081beacb1d12ce7839e7cd7deb9
BLAKE2b-256 checksum
How to use checksums
3b44ff49e2bf7099253252cef544c496d87b94d8166a23a16d957a2e2741647a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release files / PB_Sent-0.0.1-py3-none-any.whl

Download URL PB_Sent-0.0.1-py3-none-any.whl
Size 47.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d370b573b527c50eb94c0cfc0049c7f3e2a9367ac2c88d483d9edb9b0fdeeff2
BLAKE2b-256 checksum
How to use checksums
e4af33f39b8663ad63111338d366122135f314bc234ec1aa1a5ccf0b430affd6
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.1 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