! DISCLAIMER ! This repository is not production ready at all!
This repository tests out a possible way to implement a profanity filter in Godot using pure GDScript. The algorithm used is an optimized version of the Wagner-Fischer algorithm.
Godot itself implements the Sørensen–Dice coefficient natively using the similarity()
, but this algorithm doesn't seem that capable of performing any profanity checks.
There's some big problems remaining with the algorithm that might (or might not) be fixed at some point.