-
Notifications
You must be signed in to change notification settings - Fork 0
shantanuo/easystemmer
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
# easystemmer #Stemmer for Indian Names from easystemmer import IndianNameStemmer import pandas as pd s = IndianNameStemmer() #s.stem(['savithabai']) df=pd.read_excel('my_file.xlsx') df.columns=['wrong', 'correct'] df['updated']=df['wrong'].astype(str).apply(lambda x: x.split()).apply(s.stem) df['updated1']=df['correct'].astype(str).apply(lambda x: x.split()).apply(s.stem) ndf=df[df['updated'] != df['updated1']] ndf[['wrong', 'correct']].to_excel('to_study.xlsx')
About
Stemmer for Indian Names
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published