thai_profanity_filter 0.1.0
thai_profanity_filter: ^0.1.0 copied to clipboard
Thai-aware profanity filter: detect, censor, and score Thai bad words with evasion handling (spacing, repeats, zero-width) and a false-positive allow-list, dependency-free pure Dart.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add thai_profanity_filterWith Flutter:
$ flutter pub add thai_profanity_filterThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
thai_profanity_filter: ^0.1.0Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:thai_profanity_filter/thai_profanity_filter.dart';