For questions specific to spaCy version 3, an Industrial-Strength Natural Language Processing tool in Python. Use the more generic tag `spacy` for general questions about the spaCy.
Questions tagged [spacy-3]
334 questions
-1
votes
1 answer
Spacy 3.06 NLP Named Entity lower case issue
I'm trying to determine the named entity from lower case and merge those entities based upon Entity Type i.e "GPE" but spacy is not identifying the entities n lower case e.g "new york".
Example Sentence: "You can hear the musicality in his voice.…

Umer
- 142
- 9
-2
votes
1 answer
How to get all possible tags or pos for a word in spacy
I am trying to get all the possible tags for a specific word in spacy. For example, still can be adjective or adverb. I want to be able to get both. How is this accomplished? I have searched all over the internet and got no answer. It seems it…

Ifeanyi Nmoye
- 62
- 1
- 5
-2
votes
1 answer
Custom pattern to match phrases in spacy's Matcher
i'm trying to use spacy to match some sample sentences. I tried the sample code successfully, but now i need something more specifically. First the sample code so that you understand better:
import spacy
from spacy.matcher import Matcher
nlp =…

Laz22434
- 373
- 1
- 12
-2
votes
1 answer
Spacy NLP example: cant covert token into lowercase, throwing error
from collections import defaultdict
item_ratings = defaultdict(list)
for idx, review in data.iterrows():
doc = nlp(review.text)
matches = matcher(doc)
found_items = set(doc[match[1]:match[2]].lower_ for match in matches)
…