📜  python 审查 pypi - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:43.481000             🧑  作者: Mango

代码示例1
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')