mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-27 09:44:36 +03:00
Update API docs
This commit is contained in:
parent
784347160d
commit
5163a4513e
|
@ -218,7 +218,7 @@ p
|
||||||
+cell #[code colors]
|
+cell #[code colors]
|
||||||
+cell dict
|
+cell dict
|
||||||
+cell
|
+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.
|
| color names or values.
|
||||||
+cell #[code {}]
|
+cell #[code {}]
|
||||||
|
|
||||||
|
|
|
@ -130,9 +130,9 @@ p
|
||||||
span.set_flag(BAD_HTML_FLAG, True) # set BAD_HTML_FLAG
|
span.set_flag(BAD_HTML_FLAG, True) # set BAD_HTML_FLAG
|
||||||
|
|
||||||
+aside("Tip: Visualizing matches")
|
+aside("Tip: Visualizing matches")
|
||||||
| When working with entities, you can use the #[+api("displacy") displaCy]
|
| When working with entities, you can use #[+api("displacy") displaCy]
|
||||||
| in your callback function to quickly generate a NER visualization
|
| to quickly generate a NER visualization from your updated #[code Doc],
|
||||||
| from your updated #[code Doc], to export as an HTML file:
|
| which can be exported as an HTML file:
|
||||||
|
|
||||||
+code.o-no-block.
|
+code.o-no-block.
|
||||||
from spacy import displacy
|
from spacy import displacy
|
||||||
|
|
Loading…
Reference in New Issue
Block a user