This library has been published in PyPI
Special thanks to everyone in this repository for badwords list. If you want to add some bad words, please create a Pull Request.
This package is developed to filter Bad Words in Vietnamese 🇻🇳🇻🇳
Thư viện này dùng để lọc mấy từ bậy bạ chửi tục trong Tiếng Việt
pip install viet_badwords_filter
from viet_badwords_filter.filter import VNBadwordsFilter
filter = VNBadwordsFilter()
print(filter.is_profane("hello")) # False
print(filter.is_profane("vcl")) # True
print(filter.clean("hello vcl")) # hello ***