Skip to content

Support options in displacy.render #71

@lidiexy-palinode

Description

@lidiexy-palinode

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions