Text this: Machine learning and cognitive science applications in cyber security