Computational modeling of the role of discourse information in language production and language acquisition