Skip to content

TheQuantumCrew/vn_badwords_filter

Repository files navigation

This library has been published in pub.dev

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

Use command

dart pub add vn_badwords_filter

Or add specific version to pubspec.yaml file

dependencies:
    vn_badwords_filter: 1.0.2

Then run pub get

flutter pub get

Usage

Support clean and check function

print(VNBadwordsFilter.isProfane("hello")); // false
print(VNBadwordsFilter.isProfane("vcl")); // true
print(VNBadwordsFilter.clean("hello vcl")); // hello ***

Road map

  • Add more bad words
  • Support Multi-languages