mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-27 09:44:36 +03:00
Update serialization info
This commit is contained in:
parent
f122d82f29
commit
93ee5c4a52
|
@ -22,10 +22,10 @@ p
|
||||||
| untrusted sources.
|
| untrusted sources.
|
||||||
|
|
||||||
p
|
p
|
||||||
| All container classes and pipeline components, i.e.
|
| All container classes, i.e. #[+api("language") #[code Language]],
|
||||||
for cls in ["Doc", "Language", "Tokenizer", "Tagger", "DependencyParser", "EntityRecognizer", "Vocab", "StringStore"]
|
| #[+api("doc") #[code Doc]], #[+api("vocab") #[code Vocab]] and
|
||||||
| #[+api(cls.toLowerCase()) #[code=cls]],
|
| #[+api("stringstore") #[code StringStore]] have the following methods
|
||||||
| have the following methods available:
|
| available:
|
||||||
|
|
||||||
+table(["Method", "Returns", "Example"])
|
+table(["Method", "Returns", "Example"])
|
||||||
- style = [1, 0, 1]
|
- style = [1, 0, 1]
|
||||||
|
|
|
@ -50,9 +50,10 @@ p
|
||||||
|
|
||||||
p
|
p
|
||||||
| spay's serialization API has been made consistent across classes and
|
| spay's serialization API has been made consistent across classes and
|
||||||
| objects. All container classes and pipeline components now have a
|
| objects. All container classes, i.e. #[code Language], #[code Doc],
|
||||||
| #[code to_bytes()], #[code from_bytes()], #[code to_disk()] and
|
| #[code Vocab] and #[code StringStore] now have a #[code to_bytes()],
|
||||||
| #[code from_disk()] method that supports the Pickle protocol.
|
| #[code from_bytes()], #[code to_disk()] and #[code from_disk()] method
|
||||||
|
| that supports the Pickle protocol.
|
||||||
|
|
||||||
p
|
p
|
||||||
| The improved #[code spacy.load] makes loading models easier and more
|
| The improved #[code spacy.load] makes loading models easier and more
|
||||||
|
|
Loading…
Reference in New Issue
Block a user