[pt] token.conjuncts not working in 3.3 for Portuguese #10811
Unanswered
ricardojosehlima
asked this question in
Help: Other Questions
Replies: 2 comments
-
Oh this may be due to now "menina" not having conj as dep_ but nsubj, along with "menino"!? |
Beta Was this translation helpful? Give feedback.
0 replies
-
There are can be differences in the model outputs for different model versions (here: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
when in Spacy 3.2.2
frase = "O menino e a menina saíram." # "The boy and the girl left."
nlp = spacy.load("pt_core_news_lg")
doc = nlp(frase)
comp = doc[1].conjuncts
print([t.text for t in comp])
['menina']
now, in 3.3
same code, result
[]
Beta Was this translation helpful? Give feedback.
All reactions