Skip to main content

A simple utility for text preprocessing (lower, punct removal, stop words).

Project description

sids-basic-processor

A simple, basic utility package for common natural language text preprocessing tasks. It is designed to quickly clean raw text for analysis.

Features

The TextProcessor class performs the following sequential steps:

  1. Lowercasing: Converts all text to lowercase.
  2. Punctuation Removal: Removes all common punctuation marks.
  3. Tokenization: Splits the cleaned text into a list of words.
  4. Stop Word Removal: Filters out a predefined set of common English stop words (like "the", "is", "a", etc.).

Installation

You can install the package using Python's package manager, pip:

pip install sids-basic-processor

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

sids_basic_processor-0.0.2.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

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

sids_basic_processor-0.0.2-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file sids_basic_processor-0.0.2.tar.gz.

File metadata

  • Download URL: sids_basic_processor-0.0.2.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for sids_basic_processor-0.0.2.tar.gz
Algorithm Hash digest
SHA256 c8f5f9dcdb8894828daa9bc92be4583e213a15a4b163794a0b13164431a83365
MD5 5b0b7bad93e806fb145477ea0fec3584
BLAKE2b-256 3467afebe18c517ceeb54c0094f351e32e7a83004bd2c50a86ce11cc557be9b4

See more details on using hashes here.

File details

Details for the file sids_basic_processor-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for sids_basic_processor-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bd04a87352d804f3f27bfc2de5173ac9b8f9c96af4793274d86801071e1fba8b
MD5 eef87a58c976717221c2cac7fdb07b17
BLAKE2b-256 d363aa766ab2969a82f871f841b0ddf83e9b42a48f4ae79354fe3dfc3ecfba04

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