How To Detect Gibberish In Python?

I have been getting a lot of spam in a python server I have containing bad words and gibberish. I've handled the bad word part, but can't find out how to do the gibberish part. Iv'e tried all sorts of methods. Someone please help?

You are viewing a single comment. View All

@joecooldoo its not machine learning