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