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 process by which named entities are identified and classified in an open-domain text .