added code to tag sentences with nlp