sentence1: named entity ( ne ) tagging is the task of recognizing and classifying phrases into one of many semantic classes such as persons , organizations and locations .
sentence2: named entity ( ne ) tagging is a fundamental task for natural language processing and information extraction .