Deep learning for detecting inappropriate content in text