A small text processing package
Project description
✨ Shiny Text
This package aims to be a one stop all package for all text processing tasks. The package was developed using Python3.10.
💻 Installation
pip install -U shinytext
🚀 Usage
# To clean text
from shinytext.cleantext import <method>
# To clean dataframe
from shinytext.cleandata import <method>
# To download/fetch a spacy language model
from shinytext.utils.spacy_loader import get_spacy_object
List of text cleaning methods
- remove_punctuation: To remove punctuations
- remove_stopwords: To remove stopwords
- remove_frequent_words: To remove frequently occuring words
- remove_rare_words: To remove rarely occuring words
- stemmer: To perform stemming
- lemmatizer: To perform lemmatizing
- remove_emojis: To remove emoji's
- convert_emojis: To convert emoji's to text
- remove_emoticons: To remove emoticons
- convert_emoticons: To convert emoticons to text
- remove_urls: To remove URLs
- remove_html: To remove html
- convert_chatwords: To convert chat words to text
List of dataframe cleaning methods
- filter_english_records: To extract data with only english text
✍ Contribution Guidelines
Please ensure that you adhere to the following guidelines while making a pull request.
-
Fork the project on to your repo. Create a branch under your name and create PR from your branch.
-
USE proper commit messages and give detailed descriptions for your commit including the file name, function name and the changes made.
Customize your commit titles according to below given instructions
* "ADD: <your task title>" for new additions
* "MOD: <your task title>" for modifications
* "DEL: <your task title>" for deletions
* "FIX: <your task title>" for fixing bugs
- Ensure that your code adheres to PEP-8 guidelines. Click here to know more about it.
💼 Current Requirements
-
More text processing techniques
-
Test cases for existing functions
🙌 Contributors
❤ Credits
⚙ Dependancies
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 shinytext-0.0.3.tar.gz
.
File metadata
- Download URL: shinytext-0.0.3.tar.gz
- Upload date:
- Size: 51.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f97821e69fe0312188c8aa788fe492b02008faa812dabe21aad9e519f77ae9bf |
|
MD5 | eca3c5230dbcffe7043887980f356606 |
|
BLAKE2b-256 | dcc3a1c4eed6795a16ede96a0ca875d8102ffaa49d0e03e3ca8f411d016517f0 |
File details
Details for the file shinytext-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: shinytext-0.0.3-py3-none-any.whl
- Upload date:
- Size: 51.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11954d1533484af6db54a493ba88d56105e303f4151ae95758ced2cfb9eb32aa |
|
MD5 | 25a316b9499b8cb5f10609ca42e9657d |
|
BLAKE2b-256 | 7f04390421cb59455da64fce4ba8537bf6ba05375af4a14c874dbc585dffb573 |