A profanity detector for random strings