mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 01:16:28 +03:00
Update docs
This commit is contained in:
parent
c6e8d55dcb
commit
6d7986b7bc
|
@ -195,7 +195,7 @@ p
|
|||
p
|
||||
| If you're working with a #[+a("https://jupyter.org") Jupyter] notebook,
|
||||
| you can use displaCy's "Jupyter mode" to return markup that can be
|
||||
| rendered in a cell.
|
||||
| rendered in a cell straight away.
|
||||
|
||||
+code("Jupyter Example").
|
||||
# don't forget to install a model, e.g.: python -m spacy download en
|
||||
|
@ -208,7 +208,7 @@ p
|
|||
doc2 = nlp(LONG_NEWS_ARTICLE)
|
||||
displacy.render(doc2, style='ent', jupyter=True)
|
||||
|
||||
+image("/assets/img/docs/displacy_jupyter.jpg", 700)
|
||||
+image("/assets/img/docs/displacy_jupyter.jpg", 700, false, "Example of using the displaCy dependency and named entity visualizer in a Jupyter notebook")
|
||||
|
||||
p
|
||||
| Internally, displaCy imports #[code display] and #[code HTML] from
|
||||
|
|
Loading…
Reference in New Issue
Block a user