I am trying to find important name entities for a sentence as below:
import spacy
nlp = spacy.load('en')
sentences = "The machine learning is a field within computer science,\
it differs from traditional computational approaches. In traditional computing,\
algorithms are sets of explicitly programmed instructions used by computers to \
calculate or problem solve. The Machine learning algorithms instead allow for computers \
to train on data inputs and use statistical analysis in order to output values that fall\
within a specific range. Because of this, machine learning facilitates computers in building\
models from sample data in order to automate decision-making processes based on data inputs."
doc = nlp(sentences)
print('Name Entity:{0}'.format(doc.ents))
I am expecting to get the result "Machine learning","algorithms","decision-making" but i am getting an empty set as result. What am i doing wrong here.
