How can I visualize relationships between entities with displaCy? #11393
Answered
by
polm
venti07
asked this question in
Help: Coding & Implementations
-
How can I visualize relationships between entities with displaCy? |
Beta Was this translation helpful? Give feedback.
Answered by
polm
Aug 30, 2022
Replies: 1 comment 2 replies
-
displaCy doesn't have a built-in mode for that, but you can just specify the arcs manually - see this section in the docs. Here's an example from there of manually specified arcs:
In this example the arcs are dependency relations, but you can just modify those to be your relations. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
venti07
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
displaCy doesn't have a built-in mode for that, but you can just specify the arcs manually - see this section in the docs.
Here's an example from there of manually specified arcs:
In this example the arcs are dependency relations, but you can just modify those to be your relations.