0

IS there any package in python that can do sentimental analysis like removing Bad words and curse words. I am using text blob and doing sentimental analysis by taking the polarity score. But, I need a package to filter or remove the bad word.

deepak v
  • 11
  • 1
  • 2
  • [prodigy](https://prodi.gy/) has a good tutorial for this (related to [spacy](https://spacy.io/)) – C.Nivs Mar 15 '19 at 20:18

2 Answers2

0

I don't think there is but I found this: What's a good Python profanity filter library

tygzy
  • 698
  • 1
  • 6
  • 23
0

the better_profanity package can remove curse words in addition to alternate spellings of those words using. Here is a link

to install it use:

pip install better_profanity

It doesn't do sentiment analysis, but there are packages like nltk (VADER) that do that. Here is a link

LogDog23
  • 236
  • 3
  • 7