Skip to content

allow displacy to display several kind of spans #11311

Discussion options

You must be logged in to vote

Hi @joseberlines ,

Yes, the visualizer can only display one spans_key at a time. It might be tricky to distinguish between two keys in the visualization, hence the design. If you like to show both, you can combine them into a single spans_key (e.g., custom_sc) and pass that value to displaCy.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@joseberlines
Comment options

Answer selected by ljvmiranda921
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat / visualizers Feature: Built-in displaCy and other visualizers
3 participants