- download repo and extract it
- got to nlp_lib-master directory run command prompt
type : pip install .
python -m spacy download en_core_web_sm
Use :
- from nlp_lib import *
- df = pd.read_csv("mycsv.csv") # let columns be col1,col2,col3 ... coln
- df['rm_punct'] = df['col1'].apply(remove_punctuations)
Note :- when you imoport this library as shown it will import pandas as pd and numpy as np aditionaly re,string,nltk and spacy can also be use without importing statements.