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.
- Run the command: pip install better_profanity
- Import the module profanity from better_profanity
- Take user input
- Check for the censored data using method profanity.censor()
- Print the output on terminal.
- It will print #### if censor word is detected. Otherwise, it will print the input text you have entered