khashpavan / profinity-detector

bad words or custom words detector

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

profinity-detector

bad words or custom words detector

Write a program that can indicate the degree of profanity for each sentence in the file.

Words and tweets are taken from the files.

cleaned the tweets using nltk like sentence to words --> removing punctuations --> converting to lower case --> remove remaining words that are not alphabetic --> filtering out stop words

compared the bad words and words from sentences and printing percentage.

About

bad words or custom words detector


Languages

Language:Python 100.0%