A word filter I made for my discord bot
- JavaScript 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| confusables | ||
| .gitignore | ||
| filter.js | ||
| generator.js | ||
| index.js | ||
| LICENSE | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
Word Filter
A word filter I made for my discord bot but it didn't work as well as I would have liked so i made this giant word filter.
If anyone has any idea on improving this reach out on discord (GamBar#6498), nothing is overkill anymore.
If you want a quick list of bad words to test it with see List of Bad Words
It uses:
- Regex
- Unicode's confusables security list with some modifications
- Metaphone phonetic algorithm npm
- Stemmer - npm
- Levenshtein string comparison npm