Skip to content
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

Add option to render compact parse trees #200

Open
frreiss opened this issue Jun 4, 2021 · 0 comments
Open

Add option to render compact parse trees #200

frreiss opened this issue Jun 4, 2021 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@frreiss
Copy link
Member

frreiss commented Jun 4, 2021

Right now tp.io.spacy.render_parse_tree() uses DisplaCy's large format to render parse trees. Bigger parse trees end up taking a lot of space. There should be an option to use the compact argument to use the more compact format with square arrows; see https://spacy.io/usage/visualizers#dep.

Compact rendering should be on by default for parse trees larger than 10 nodes or so.

@frreiss frreiss added enhancement New feature or request good first issue Good for newcomers labels Oct 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant