Text this: Automatic detection of cognitive events using machine learning and understanding models’ interpretations of human cognition