explosion / explosion/spaCy

Not all displaCy templates can be overridden

Open
#12,267 1 comment 0 reactions 0 assignees View on GitHub
enhancement feat / visualizers
Dominant language
Python
Stars
33.9k
Forks
4.7k
Avg merge
3m
Merged PRs (30d)
1

Description

Even though [TPL_ENT](https://github.com/explosion/spaCy/blob/master/spacy/displacy/templates.py#L51) can be overridden using `template` option of a renderer there is no way to override [TPL_ENTS](https://github.com/explosion/spaCy/blob/2d4fb94ba0a23523cc9adb65e0dcf92bbf6177b6/spacy/displacy/templates.py#L46) template which might be useful in some cases. I believe it is valid for other renderes as well, not only for `EntityRenderer`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.