A mention is selected for analysis if (i) it is not the first mention of the text, and (ii) it is the first mention of the entity it belongs to.
the heuristics also select the best named entity class for each entity, thus correcting previous NER errors.