Identifying the Reason for Writing