Text this: Threat analysis using artificial neural network