From 5163a4513eb6f37ac255ce17149914193f05ef69 Mon Sep 17 00:00:00 2001 From: ines Date: Sat, 20 May 2017 01:43:48 +0200 Subject: [PATCH] Update API docs --- website/docs/api/displacy.jade | 2 +- website/docs/usage/rule-based-matching.jade | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/website/docs/api/displacy.jade b/website/docs/api/displacy.jade index 766357b37..8237be9bb 100644 --- a/website/docs/api/displacy.jade +++ b/website/docs/api/displacy.jade @@ -218,7 +218,7 @@ p +cell #[code colors] +cell dict +cell - | Color overrides. Entity types in lowercase should be mapped to + | Color overrides. Entity types in uppercase should be mapped to | color names or values. +cell #[code {}] diff --git a/website/docs/usage/rule-based-matching.jade b/website/docs/usage/rule-based-matching.jade index 6f1fd71de..077ddf4ea 100644 --- a/website/docs/usage/rule-based-matching.jade +++ b/website/docs/usage/rule-based-matching.jade @@ -130,9 +130,9 @@ p span.set_flag(BAD_HTML_FLAG, True) # set BAD_HTML_FLAG +aside("Tip: Visualizing matches") - | When working with entities, you can use the #[+api("displacy") displaCy] - | in your callback function to quickly generate a NER visualization - | from your updated #[code Doc], to export as an HTML file: + | When working with entities, you can use #[+api("displacy") displaCy] + | to quickly generate a NER visualization from your updated #[code Doc], + | which can be exported as an HTML file: +code.o-no-block. from spacy import displacy