Content filter to determine the XSS, spam and profanity content of text