-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dependency graph labels appear upside down #3917
Comments
Sorry for only getting to this now. I initially thought this was a bug, but I think it's actually related to how the data is formatted. In your For instance, here's the result displaCy would internally produce for that parse: import spacy
from spacy.displacy import parse_deps
nlp = spacy.load("en_core_web_sm")
doc = nlp("Balmer replaces Gates at Microsoft")
print(parse_deps(doc))
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
How to reproduce the behaviour
The following code generates a dependecy graph visualisation, with some of the arc labels shown upside down.
See screenshot
Your Environment
The text was updated successfully, but these errors were encountered: