gramex-nlg
gramex-nlg copied to clipboard
Named entities vs noun chunks
nlg.utils.ner
wrongly clubs named entities and nouns together. This is a problem because NEs undergo a literal search, whereas nouns should undergo a lemmatized search.
E.g. "Inception is a good movie."
Here the word "movie"
, if it appears in an inflected form in the dataframe, will not be correctly templatized because NER clubs it with NEs like "Inception"
.