profanity_filter
Simple filter to check and censor strings against profanity, obscene words. A default English words list is provided (LDNOOBW).
2.0.0
14K downloads/mo
#2548 most downloaded on pub.dev
roshanrahman/profanity_filter
What this package is like to depend on
Last release 5 years ago
no release in 18 months
Ships fairly regularly
a new release about every 5 months
Most releases are documented
notes for 6 of 7 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
8 releases · first in 2019
0 releases in the last 12 months
see the full history below
Release timeline
8 releases · Oct 2019 to Jun 2021
2020
2021
2022
2023
2024
2025
2026
Releases
latest 8-
2.0.029 Jun 2021Release notes
Open source →- Released 2.0.0 with null safety
- Fixed issue with getAllProfanity that was incorrectly detecting substrings as profanity.
-
2.0.0-nullsafety.009 Mar 2021 pre-release -
1.0.404 Oct 2020Release notes
Open source →- The SDK version in pubspec.yaml is now
>=2.6.0 <3.0.0 - Minor code changes
- Updated README.md
- The SDK version in pubspec.yaml is now
-
1.0.303 Oct 2020Release notes
Open source →- Moved the default list of words
defaultWordsToFilterOutListto a new filedefault_list.dart - Renamed the methods to a more concise form -
hasProfanity,getAllProfanity,censor - The older, longer names of the above mentioned methods (
checkStringForProfanity,getAllProfanityFoundInString,censorString) are marked deprecated. They'll still work, but its recommended you choose their newer, shorter, more concise form. - The
censormethod is now case-agnostic, it will now censor profanity regardless of its case (converts all words to lowercase before comparing) (Thanks to contributor towner-10 - See PR ) - Added test for
getProfanitymethod. - Added test for
censormethod with case.
- Moved the default list of words
-
1.0.217 Oct 2019 -
1.0.117 Oct 2019 -
1.0.017 Oct 2019 -
0.0.117 Oct 2019Nothing published for this version