Skip to content

Discrepancy between dependency tree shown via displacy vs. .children #5454

Discussion options

You must be logged in to vote

By default displacy simplifies some arcs to make the parse easier to read. See the collapse_punct option here: https://spacy.io/api/top-level#displacy_options

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by ines
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
2 participants
Converted from issue

This discussion was converted from issue #5454 on December 11, 2020 00:27.