Thought process analysis