Amazing-Python-Scripts

Форк
0

..
/
Censor word detection 
4 года назад
README.md

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

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.