vulgarity 0.1.0-pre.1 copy "vulgarity: ^0.1.0-pre.1" to clipboard
vulgarity: ^0.1.0-pre.1 copied to clipboard

Trie-based vulgarity detection, filtering and scoring. It defeats leetspeak, separator and repeated-letter evasion, and shares its term list with a .NET port.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add vulgarity

With Flutter:

 $ flutter pub add vulgarity

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  vulgarity: ^0.1.0-pre.1

Alternatively, 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:vulgarity/vulgarity.dart';
1
likes
160
points
130
downloads

Documentation

API reference

Publisher

verified publishermoder.works

Weekly Downloads

Trie-based vulgarity detection, filtering and scoring. It defeats leetspeak, separator and repeated-letter evasion, and shares its term list with a .NET port.

Repository (GitHub)
View/report issues

Topics

#profanity #moderation #text #filter #nlp

License

MIT (license)

More

Packages that depend on vulgarity