top | item 22911346

(no title)

adam_fallon_ | 5 years ago

That is seriously impressive for that short amount of time, fantastic work!

I did comment elsewhere in this thread, but have since deleted, but I just had another question:

Can you say a bit more about the OSS libraries I’m always looking for tools to help with comments in my projects!

discuss

order

andrewthebold|5 years ago

Thank you! I'm a bit wary of giving big hints to how the filters work, but I was inspired by:

- npm packages like redact-pii, bad-words (and numerous other "bad word" lists)

- askismet's open source spam code

- regex unicode categories

I also wrote a variety of checks for word counts, combinations of words, known "bad patterns", etc. You may not realize it, but the text input forms block a lot of potential inputs.

It's not perfect, but that's why I'm manually handling things that surface. Happy to answer any follow-ups.