sentence1: named entity recognition ( ner ) is the task of detecting named entity mentions in text and assigning them to their corresponding type .
sentence2: named entity recognition ( ner ) is the task of finding rigid designators as they appear in free text and classifying them into coarse categories such as person or location ( cite-p-24-4-6 ) .