mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-13 02:36:32 +03:00
Update language.jade (#2616)
This commit is contained in:
parent
055cc0de44
commit
8227de0099
|
@ -578,7 +578,7 @@ p Serialize the current state to a binary string.
|
||||||
p Load state from a binary string.
|
p Load state from a binary string.
|
||||||
|
|
||||||
+aside-code("Example").
|
+aside-code("Example").
|
||||||
fron spacy.lang.en import English
|
from spacy.lang.en import English
|
||||||
nlp_bytes = nlp.to_bytes()
|
nlp_bytes = nlp.to_bytes()
|
||||||
nlp2 = English()
|
nlp2 = English()
|
||||||
nlp2.from_bytes(nlp_bytes)
|
nlp2.from_bytes(nlp_bytes)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user