A library to filter Vietnamese bad words
Project description
viet_badwords_filter
This library has been published in PyPI
Special thanks
Special thanks to everyone in this repository for badwords list. If you want to add some bad words, please create a Pull Request.
Features
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
Getting started
Install the package
pip install viet_badwords_filter
Usage
Support clean and check functio
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 ***
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for viet_badwords_filter-1.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47f0e586cbbc4597b1b712a92accb72822a392d6fdb46f1acfa5c84274fdb35d |
|
MD5 | 5c605a83b1948af487039c6cd4e5f4db |
|
BLAKE2b-256 | 2d29603d8f5e588e88aad975709bccba318f9d80076f91f40345925bcd2a7466 |
Close
Hashes for viet_badwords_filter-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76a0073b11dd0f98e5d58d164758594886706d73cf8ce622784cf4d98448f119 |
|
MD5 | 56254f6ead12532c80e20729bc56f153 |
|
BLAKE2b-256 | e233d329f56effd421254ac423f40a033cb5279af6269204b43ec13196522e44 |