Mastering Discourse and Coreference in NLP