Skip to main content

This package contains preprocessing functions

Project description


NLPPREPROCESS is a preprocessing package for NLP task. The main objective of the package is to reduce time consumed for preprocessing by using ready made functions.


  • Python 3.4 or higher


Using PIP via PyPI

$ pip install nlppreprocess

Manually via GIT

$ git clone git://
$ cd nlppreprocess
$ python install


  1. Replaces words
  2. Remove stopwords
  3. Remove numbers
  4. Remove HTML tags
  5. Remove punctations


>>> from nlpuitls import NLP
>>> obj = NLP()


>>> obj = NLP(

Using with Pandas Library

>>> dataFrame['text'] = dataFrame['text].apply(obj.process)

Using with plain textx

>>> print(obj.process("Pass a text here"))

Add more stopwords

>>> obj = NLP()
>>> obj.add_stopword(['this', 'and this'])

Add more replace words

>>> obj = NLP()
>>> obj.add_replacement([this="by this", this="by this"])

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for nlppreprocess, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size nlppreprocess-0.1.1-py3-none-any.whl (4.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size nlppreprocess-0.1.1.tar.gz (4.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page