local_toxicity_guard 1.0.1 copy "local_toxicity_guard: ^1.0.1" to clipboard
local_toxicity_guard: ^1.0.1 copied to clipboard

Privacy-focused on-device toxicity detection for Flutter. Detects hate speech, harassment, and offensive content without cloud APIs.

1.0.1 #

  • Fixed typo in class name from TocixityGuard to ToxicityGuard
  • Improved tokenization with punctuation handling
  • Replaced print() with debugPrint() for better production logging
  • Added constants for asset paths
  • Removed unused config loading code
  • Updated documentation and examples

1.0.0 #

  • Initial stable release
  • On-device toxicity detection using MiniLM-v2 ONNX model
  • Support for 6 toxicity categories: toxic, severe_toxic, obscene, threat, insult, identity_hate
  • ToxicityGuard class for direct detection
  • ToxicityService singleton for app-wide management
  • Adjustable threshold configuration
  • Cross-platform support (Android & iOS)
  • Privacy-first: 100% offline processing
0
likes
150
points
74
downloads

Publisher

unverified uploader

Weekly Downloads

Privacy-focused on-device toxicity detection for Flutter. Detects hate speech, harassment, and offensive content without cloud APIs.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_onnxruntime, plugin_platform_interface

More

Packages that depend on local_toxicity_guard

Packages that implement local_toxicity_guard