mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-26 17:24:41 +03:00
Update API docs
This commit is contained in:
parent
784347160d
commit
5163a4513e
|
@ -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 {}]
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user