From 823e47d9465cad3914c3dd65a4d605a88aba0359 Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Wed, 2 Nov 2016 11:24:13 +0100 Subject: [PATCH] Add language models to API docs (fixes #598) --- website/docs/api/_data.json | 6 ++++++ website/docs/api/language-models.jade | 22 ++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 website/docs/api/language-models.jade diff --git a/website/docs/api/_data.json b/website/docs/api/_data.json index eeab28d09..df602d376 100644 --- a/website/docs/api/_data.json +++ b/website/docs/api/_data.json @@ -2,6 +2,7 @@ "sidebar": { "Introduction": { "Facts & Figures": "./", + "Language models": "language-models", "Philosophy": "philosophy" }, "Classes": { @@ -25,6 +26,11 @@ "index": { "title": "Facts & Figures", + "next": "language-models" + }, + + "language-models": { + "title": "Language models", "next": "philosophy" }, diff --git a/website/docs/api/language-models.jade b/website/docs/api/language-models.jade new file mode 100644 index 000000000..af89a1555 --- /dev/null +++ b/website/docs/api/language-models.jade @@ -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.