skweak icon indicating copy to clipboard operation
skweak copied to clipboard

Support options in displacy.render

Open lidiexy-palinode opened this issue 3 years ago • 0 comments

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.

lidiexy-palinode avatar Aug 24 '22 17:08 lidiexy-palinode