@vikas_10 wrote:
Hello everyone,
I am working on NLP. I have an object in unicode named 'document' which consists of one column of strings with educational details of individuals. I want to execute the following code on it.
for word in list(document.sents)[0]:
print word, word.tag_
The purpose is to print the parts of speech tags. But an error message is showing as given below
ValueError: sentence boundary detection requires the dependency parse, which requires data to be installed. If you haven't done so, run:
python -m spacy download en
to install the dataAfter downloading the package spacy en , I tried to run the code. But still the same message has popped up. What should I do to fix it?
Posts: 1
Participants: 1