From e7c20ad1d272889134aa39016b1aaf1ab2096d3e Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Thu, 12 Sep 2019 12:59:10 +0200 Subject: [PATCH] Update colors entry points docs [ci skip] --- website/docs/usage/saving-loading.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/docs/usage/saving-loading.md b/website/docs/usage/saving-loading.md index b9e712882..1ad4824fa 100644 --- a/website/docs/usage/saving-loading.md +++ b/website/docs/usage/saving-loading.md @@ -491,13 +491,13 @@ SnekLanguage = get_lang_class("snk") nlp = SnekLanguage() ``` -### Custom displaCy colors via entry points {#entry-points-displacy} +### Custom displaCy colors via entry points {#entry-points-displacy new="2.2"} If you're training a named entity recognition model for a custom domain, you may end up training different labels that don't have pre-defined colors in the [`displacy` visualizer](/usage/visualizers#ent). The `spacy_displacy_colors` entry point lets you define a dictionary of entity labels mapped to their color -values. It's added to the existing pre-defined colors and can also overwrite +values. It's added to the pre-defined colors and can also overwrite existing values. > #### Domain-specific NER labels