}
}
List singles = new ArrayList();
List plurals = new ArrayList();
// coref entities
for (Iterator ei = entities.keySet().iterator(); ei.hasNext();) {
Integer key = (Integer) ei.next();
List entityContexts = (List) entities.get(key);
NumberEnum number = getNumber(entityContexts);
if (number == NumberEnum.SINGULAR) {
singles.addAll(entityContexts);