Answers for "python censoring pypi"

0

python censoring pypi

from profanity_filter import ProfanityFilter

pf = ProfanityFilter()

pf.censor("That's bullshit!")
# "That's ********!"

pf.censor_word('fuck')
# Word(uncensored='fuck', censored='****', original_profane_word='fuck')
Posted by: Guest on March-12-2021

Python Answers by Framework

Browse Popular Code Answers by Language