I cannot fix this error. Based on the error, I have
imported and run successfully the "!python -m spacy download
en_core_web_lg"; however, I still get an error.
proc_fruits = nlp('''I think green apples are delicious.
While pears have a strange texture to them. The bowls they sit in
are ugly''')
apples, pears, bowls = proc_fruits.sents
fruit = proc_fruits.vocab["fruits"]
print(apples.similarity(fruit))
I cannot fix this error. Based on the error, I have imported and run successfully the "!python -m spacy download en_cor
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
I cannot fix this error. Based on the error, I have imported and run successfully the "!python -m spacy download en_cor
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!