Cognition in discourse