Metadata-Version: 2.1
Name: text_ppf
Version: 1.0.0
Summary: Text pre-processing function for NLP
Home-page: https://github.com/Mandy-cyber/TextPreProcessing
Author: MandyCyber
Author-email: 
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE

# TextPreProcessing
#### *Python package for preprocessing text for NLP models*

## **INSTALLATION**

[Download PyPi Package](https://pypi.org/project/text-ppf/#files) , or <br>
```$
$ pip install text-ppf
```
To upgrade:
```$
$ pip install text-ppf --upgrade
```
<br>

## **WHAT IT DOES**
An all-in-one function which,
<ul>
  <li>Removes punctuation</li>
  <li>Splits the text into a list of words</li>
  <li>Removes stopwords</li>
  <li>Makes each word lowercase</li>
  <li>Lemmatizes each word</li>
</ul>
<br>

## **USAGE**
### _text_ppf_

```python
import pandas as pd
from text_ppf import text_ppf

#LOADING DATASET
df = pd.read_csv('filename.csv')
# print(df.head)

dfNew = df['heading'].apply(text_ppf.clean_up)
print(dfNew)
```




