Update API docs

This commit is contained in:
ines 2017-05-20 01:43:48 +02:00
parent 784347160d
commit 5163a4513e
2 changed files with 4 additions and 4 deletions

View File

@ -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 {}]

View File

@ -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