Skip to content

v4.2.0

Choose a tag to compare

@deemonic deemonic released this 02 Nov 14:24
· 45 commits to main since this release
4a02fba

New Features

  • Dutch language support (#47, thanks @roelti): a Dutch word list with severity tiers, false positives, and a DutchNormalizer that handles Dutch diacritics.
Blasp::dutch()->check($text);
Blasp::in('english', 'dutch')->check($text);
Blasp::inAllLanguages()->check($text); // now includes Dutch
  • Everyday words with a profane second meaning (kon, rot, zak, ballen, aftrekken, …) are left out to avoid false positives.
  • kanker, tering and tyfus are included as they are the most common Dutch curses. Use allow() if you need to permit them, for example in medical content.