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 ***
Metadata
Release files for viet-badwords-filter 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| viet_badwords_filter-1.0.1.tar.gz | 4.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| viet_badwords_filter-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.5 kB
Release files / viet_badwords_filter-1.0.1.tar.gz
| Download URL | viet_badwords_filter-1.0.1.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
47f0e586cbbc4597b1b712a92accb72822a392d6fdb46f1acfa5c84274fdb35d
|
|
BLAKE2b-256 checksum How to use checksums |
2d29603d8f5e588e88aad975709bccba318f9d80076f91f40345925bcd2a7466
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.10.13
|
Release files / viet_badwords_filter-1.0.1-py3-none-any.whl
| Download URL | viet_badwords_filter-1.0.1-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
76a0073b11dd0f98e5d58d164758594886706d73cf8ce622784cf4d98448f119
|
|
BLAKE2b-256 checksum How to use checksums |
e233d329f56effd421254ac423f40a033cb5279af6269204b43ec13196522e44
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.10.13
|