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

Support options in displacy.render #71

Open
lidiexy-palinode opened this issue Aug 24, 2022 · 0 comments
Open

Support options in displacy.render #71

lidiexy-palinode opened this issue Aug 24, 2022 · 0 comments

Comments

@lidiexy-palinode
Copy link
Contributor

This is enhance request for display_entities can be a bit more flexible if you includeoptions={} as part of their parameters.
Ex:
def display_entities(doc: Doc, layer=None, add_tooltip=False, options={}):

then fix the line below:
html = spacy.displacy.render(doc2, jupyter=False, style="ent", manual=True, options=options)

That will extends the functionality of render when creating new entities.

Thanks for the great work with SKWEAK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant