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 identifying and typing phrases that contain the names of persons , organizations , locations , and so on .