Coreference model for NLP