NER now returns the index corresponding to the sentence each named entity was found in.