Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

viet_badwords_filter-1.0.1.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

viet_badwords_filter-1.0.1-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file viet_badwords_filter-1.0.1.tar.gz.

File metadata

  • Download URL: viet_badwords_filter-1.0.1.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.13

File hashes

Hashes for viet_badwords_filter-1.0.1.tar.gz
Algorithm Hash digest
SHA256 47f0e586cbbc4597b1b712a92accb72822a392d6fdb46f1acfa5c84274fdb35d
MD5 5c605a83b1948af487039c6cd4e5f4db
BLAKE2b-256 2d29603d8f5e588e88aad975709bccba318f9d80076f91f40345925bcd2a7466

See more details on using hashes here.

File details

Details for the file viet_badwords_filter-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for viet_badwords_filter-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 76a0073b11dd0f98e5d58d164758594886706d73cf8ce622784cf4d98448f119
MD5 56254f6ead12532c80e20729bc56f153
BLAKE2b-256 e233d329f56effd421254ac423f40a033cb5279af6269204b43ec13196522e44

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page