Fix formatting

This commit is contained in:
ines 2017-05-22 13:55:01 +02:00
parent dddad5bf26
commit aa9c3bd464

View File

@ -47,9 +47,7 @@ include _models-list
| The old models are also #[+a(gh("spacy") + "/tree/v1.6.0") attached to the v1.6.0 release].
| To download and install them manually, unpack the archive, drop the
| contained directory into #[code spacy/data] and load the model via
| #[code spacy.load('en')] or #[code spacy.load('de')].
| contained directory into #[code spacy/data].
p
| The easiest way to download a model is via spaCy's
| #[+api("cli#download") #[code download]] command. It takes care of
@ -142,7 +140,7 @@ p
doc = nlp(u'This is a sentence.')
+aside("Tip: Preview model info")
+infobox("Tip: Preview model info")
| You can use the #[+api("cli#info") #[code info]] command or
| #[+api("spacy#info") #[code spacy.info()]] method to print a model's meta data
| before loading it. Each #[code Language] object with a loaded model also