The TextRefine class provides a set of methods for text preprocessing and cleaning.
Project description
TextRefine
TextRefine - A Comprehensive Text Cleaning Tool
TextRefine is a powerful Python class designed for text preprocessing and cleaning tasks. It provides a variety of methods to remove unwanted elements from text, making it ideal for use in natural language processing (NLP) and data cleaning projects.
Features:
- Removes emails, URLs, and phone numbers.
- Cleans text by removing spaces, symbols, and special characters.
- Handles mentions, HTML tags, and non-ASCII characters.
- Supports removing emojis and duplicates in a case-insensitive manner.
- Removes stopwords for better text clarity.
Usage:
TextRefine is easy to use and supports customizable text refinement with minimal setup. Simply initialize the class with your text and apply the desired cleaning methods.
Installation
pip install TextRefine
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file textrefine-1.0.3.tar.gz.
File metadata
- Download URL: textrefine-1.0.3.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7132a21d6948c5616bf486984f0befe5f285cf78cb33cf6218a7698872130e2d
|
|
| MD5 |
a32bb632051a175c965ab81d6c909d82
|
|
| BLAKE2b-256 |
ac135e7d80b469ff118ec169fc6d756b848abff66744c04d8a726210ce47ea08
|
File details
Details for the file TextRefine-1.0.3-py3-none-any.whl.
File metadata
- Download URL: TextRefine-1.0.3-py3-none-any.whl
- Upload date:
- Size: 2.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
01ed32f3a29ef0e9e8344408820a86bc52fd92e3caadec2d051074f9a91eb05a
|
|
| MD5 |
09fbdc2799b23339672750a192d3a116
|
|
| BLAKE2b-256 |
3e2e61ac0e978e9f70657c78b238376afcbc86ddb117f06ae4c3c18400722fab
|