From 4a927154d83c8f618fe0a991cef87ef2b1caf1a0 Mon Sep 17 00:00:00 2001 From: ines Date: Thu, 1 Jun 2017 11:56:32 +0200 Subject: [PATCH] Update v2 docs --- website/docs/usage/v2.jade | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/website/docs/usage/v2.jade b/website/docs/usage/v2.jade index 75c8c2d3c..0d57a17b4 100644 --- a/website/docs/usage/v2.jade +++ b/website/docs/usage/v2.jade @@ -170,7 +170,7 @@ p python -m spacy download de # default German model python -m spacy download fr # default French model python -m spacy download es # default Spanish model - python -m spacy download xx_ent_web_md # multi-language NER + python -m spacy download xx_ent_wiki_sm # multi-language NER p | spaCy v2.0 comes with new and improved neural network models for English, @@ -294,9 +294,6 @@ p +h(2, "migrating") Migrating from spaCy 1.x p - | If you've mostly been using spaCy for basic text processing, chances are - | you won't even have to change your code at all. For all other cases, - | we've tried to focus... +infobox("Some tips") | Before migrating, we strongly recommend writing a few @@ -339,6 +336,11 @@ p nlp.save_to_directory('/model') nlp.vocab.dump('/vocab') +p + | If you've trained models with input from v1.x, you'll need to + | #[strong retrain them] with spaCy v2.0. All previous models will not + | be compatible with the new version. + +h(3, "migrating-strings") Strings and hash values p