Entity Mention Recognition Algorithm