Update models directory and listing

This commit is contained in:
ines 2017-11-06 13:04:29 +01:00
parent e7e0cbc722
commit 2fe2c4942f
4 changed files with 11 additions and 6 deletions

View File

@ -125,6 +125,7 @@
"es": "Esto es una frase.", "es": "Esto es una frase.",
"pt": "Esta é uma frase.", "pt": "Esta é uma frase.",
"it": "Questa è una frase.", "it": "Questa è una frase.",
"nl": "Dit is een zin.",
"xx": "This is a sentence about Facebook." "xx": "This is a sentence about Facebook."
} }
} }

View File

@ -34,6 +34,10 @@ include ../_includes/_mixins
| For more details on how to use models with spaCy, see the | For more details on how to use models with spaCy, see the
| #[+a("/usage/models") usage guide on models]. | #[+a("/usage/models") usage guide on models].
+h(3, "available-models") Available models
include ../usage/_models/_available-models
+section("conventions") +section("conventions")
+h(2, "model-naming") Model naming conventions +h(2, "model-naming") Model naming conventions

View File

@ -3,9 +3,8 @@
p p
| Model differences are mostly statistical. In general, we do expect larger | Model differences are mostly statistical. In general, we do expect larger
| models to be "better" and more accurate overall. Ultimately, it depends on | models to be "better" and more accurate overall. Ultimately, it depends on
| your use case and requirements, and we recommend starting with the default | your use case and requirements. We recommend starting with the default
| models (marked with a star below). For a more detailed overview, see the | models (marked with a star below).
| #[+a("/models") models directory].
+table(["Name", "Language", "Type"]) +table(["Name", "Language", "Type"])
for models, lang in MODELS for models, lang in MODELS
@ -17,6 +16,3 @@ p
+icon("star", 16).o-icon--inline.u-color-theme +icon("star", 16).o-icon--inline.u-color-theme
+cell #{LANGUAGES[comps.lang]} +cell #{LANGUAGES[comps.lang]}
+cell #{MODEL_META[comps.type]} +cell #{MODEL_META[comps.type]}
.u-text-right
+button("/models", true, "primary", "small") View models directory

View File

@ -24,6 +24,10 @@ p
+h(2, "available") Available models +h(2, "available") Available models
include _models/_available-models include _models/_available-models
.u-text-right
+button("/models", true, "primary", "small") View models directory
+section("install") +section("install")
+h(2, "download") Installing and using models +h(2, "download") Installing and using models
include _models/_install include _models/_install