mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
Add .from_disk() to pipeline component init example (resolves #1728)
This commit is contained in:
parent
1380bce9a2
commit
49635350f0
|
@ -49,6 +49,7 @@ p Create a new pipeline instance.
|
|||
+aside-code("Example").
|
||||
from spacy.pipeline import #{CLASSNAME}
|
||||
#{VARNAME} = #{CLASSNAME}(nlp.vocab)
|
||||
#{VARNAME}.from_disk('/path/to/model')
|
||||
|
||||
+table(["Name", "Type", "Description"])
|
||||
+row
|
||||
|
|
Loading…
Reference in New Issue
Block a user