Changed methods in a coreference resolver.
Made mention a case class.
Change methods and add a test case.