Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

History

History
History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..

README.md

Outline

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
Morty Proxy This is a proxified and sanitized view of the page, visit original site.