Add language models to API docs (fixes #598)

This commit is contained in:
Ines Montani 2016-11-02 11:24:13 +01:00
parent 35ad353dc2
commit 823e47d946
2 changed files with 28 additions and 0 deletions

View File

@ -2,6 +2,7 @@
"sidebar": { "sidebar": {
"Introduction": { "Introduction": {
"Facts & Figures": "./", "Facts & Figures": "./",
"Language models": "language-models",
"Philosophy": "philosophy" "Philosophy": "philosophy"
}, },
"Classes": { "Classes": {
@ -25,6 +26,11 @@
"index": { "index": {
"title": "Facts & Figures", "title": "Facts & Figures",
"next": "language-models"
},
"language-models": {
"title": "Language models",
"next": "philosophy" "next": "philosophy"
}, },

View File

@ -0,0 +1,22 @@
//- 💫 DOCS > API > FACTS & FIGURES
include ../../_includes/_mixins
p You can download data packs that add the following capabilities to spaCy.
+aside-code("Download language models", "bash").
python -m spacy.en.download all
python -m spacy.de.download all
+table([ "Language", "Token", "SBD", "Lemma", "POS", "NER", "Dep", "Vector", "Sentiment"])
+row
+cell English #[code en]
each icon in [ "pro", "pro", "pro", "pro", "pro", "pro", "pro", "con" ]
+cell.u-text-center #[+procon(icon)]
+row
+cell German #[code de]
each icon in [ "pro", "pro", "con", "pro", "pro", "pro", "pro", "con" ]
+cell.u-text-center #[+procon(icon)]
p We're working hard to extend support for more languages and more capabilities. The next language packs we're planning to add are Spanish, Chinese, French and Portuguese.