I once did a curse-filterer. Didn't have a list of words, but added them in as people reported on chat. I unfortunately lost that file. Had like 2000 words
{"timestamp": 1473033600, "msg_contents": "I want to post the first table in the delivery address and the second to post the list of products", "user_name": "razvan", "user_id": "2178803"}
I had a big dictionary in mind, but I didn't want to bother from start. Wanted to create something that works first
@NikiC do you think there'd be any interest/value in a css selector-like language for php-parser? something like $parsed->filter('if > if')->each(function() {...});