/profinity-detector

bad words or custom words detector

Primary LanguagePython

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.