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 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

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

PB_Sent-0.0.1.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

PB_Sent-0.0.1-py3-none-any.whl (47.6 kB view details)

Uploaded Python 3

File details

Details for the file PB_Sent-0.0.1.tar.gz.

File metadata

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

File hashes

Hashes for PB_Sent-0.0.1.tar.gz
Algorithm Hash digest
SHA256 d7c2dccaaedbb5def5583994575ffc6f86d54081beacb1d12ce7839e7cd7deb9
MD5 c37ad289875e752b63942c031033b238
BLAKE2b-256 3b44ff49e2bf7099253252cef544c496d87b94d8166a23a16d957a2e2741647a

See more details on using hashes here.

File details

Details for the file PB_Sent-0.0.1-py3-none-any.whl.

File metadata

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

File hashes

Hashes for PB_Sent-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d370b573b527c50eb94c0cfc0049c7f3e2a9367ac2c88d483d9edb9b0fdeeff2
MD5 45bd47ff535c8fca37c108e573ddb6dc
BLAKE2b-256 e4af33f39b8663ad63111338d366122135f314bc234ec1aa1a5ccf0b430affd6

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