Skip to content

Latest commit

 

History

History
 
 

Censor word detection

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Censor Word Detection

In this Censor Word Detection python project, we are going to build an application which can detect censor words. Censor words are swear words/abusive words/curse words/bad words in any language. For example: shit. In this application we will detect the Censor words from English language.

Requirements

  • Run the command: pip install better_profanity

Approach

  1. Import the module profanity from better_profanity
  2. Take user input
  3. Check for the censored data using method profanity.censor()
  4. Print the output on terminal.
    • It will print #### if censor word is detected. Otherwise, it will print the input text you have entered