thai_profanity_filter 0.1.0 copy "thai_profanity_filter: ^0.1.0" to clipboard
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.

Changelog #

0.1.0 #

Initial release.

  • ThaiProfanityFilter with hasProfanity, isClean, severityOf, findMatches, and censor.
  • Three Severity tiers (mild / moderate / severe) with a configurable minSeverity threshold.
  • Evasion handling: repeated-character collapsing, spaced-letter joining, and zero-width-character stripping (toggle with detectEvasion).
  • Bundled starter Thai word list plus a false-positive allow-list, both fully extendable via extraWords, removeWords, and allowList.
  • Match positions reported as indices into the original input string.
  • Pure Dart, no dependencies.
0
likes
150
points
4
downloads

Documentation

API reference

Publisher

verified publisher10v3n4m.cc

Weekly Downloads

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.

Repository (GitHub)
View/report issues

Topics

#thai #profanity #moderation #text-filter #i18n

License

MIT (license)

More

Packages that depend on thai_profanity_filter