Skip to main content

Play with text data

Project description

textslack

A text cleaning pipeline to perform text cleaning, along with additional functionalities for sentiment, pos extraction, and word count.

After pip install, please follow the below step to access the functionalities:

  • from textslack.textslack import TextSlack
  • slack = TextSlack()

Below are the key functionalities currently available in the all the versions:

  1. transform(text): normalises and cleans unstructured text
  2. extract_nouns(text): cleans text to keep only nouns
  3. extract_verbs(text): cleans text to keep only verbs
  4. extract_adjectives(text): cleans text to keep only adjectives
  5. extract_adverbs(text): cleans text to keep only adverbs
  6. sentiment(text): returns a string as sentiment
  7. word_occurances(word, text): returns frequency of a word mentioned in the text

v.0.1.3 update: transform method can now be used on an entire pandas dataframe column.

Please refer the below medium article for a detailed explanation of textslack functionalities. https://medium.com/analytics-vidhya/text-processing-made-easy-with-textslack-4214ae6bc67a

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

textslack-0.1.3.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

textslack-0.1.3-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file textslack-0.1.3.tar.gz.

File metadata

  • Download URL: textslack-0.1.3.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.7.6

File hashes

Hashes for textslack-0.1.3.tar.gz
Algorithm Hash digest
SHA256 af2b81ad9fc8521a18a4e6e1c35c9345a6926b62db62d3f32dc7b4ab9f40bfb7
MD5 d106d2d77e52a7358d2a2e5c9370b3af
BLAKE2b-256 a8a1bc6df43f3ed44aa6a671f7fd93318afd566a70a8d2fdcbf14f490ec3d964

See more details on using hashes here.

File details

Details for the file textslack-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: textslack-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.7.6

File hashes

Hashes for textslack-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ad65dbd7f4c60da68fb811e93e0a5b9be2d18135318bbe67dc9219a26a5af88e
MD5 5a13e419d76da61ebd7ef91fb8e8f9ab
BLAKE2b-256 30346e9d46b379bc3aa7e043901c34cbc7cee354555bd5558dec392975bfdd62

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page