From 2fe2c4942ff61aad76b38b2c6adb29df1b533af1 Mon Sep 17 00:00:00 2001 From: ines Date: Mon, 6 Nov 2017 13:04:29 +0100 Subject: [PATCH] Update models directory and listing --- website/models/_data.json | 1 + website/models/index.jade | 4 ++++ website/usage/_models/_available-models.jade | 8 ++------ website/usage/models.jade | 4 ++++ 4 files changed, 11 insertions(+), 6 deletions(-) diff --git a/website/models/_data.json b/website/models/_data.json index 361331caf..0be7e82a1 100644 --- a/website/models/_data.json +++ b/website/models/_data.json @@ -125,6 +125,7 @@ "es": "Esto es una frase.", "pt": "Esta é uma frase.", "it": "Questa è una frase.", + "nl": "Dit is een zin.", "xx": "This is a sentence about Facebook." } } diff --git a/website/models/index.jade b/website/models/index.jade index d9d357fae..861514d1c 100644 --- a/website/models/index.jade +++ b/website/models/index.jade @@ -34,6 +34,10 @@ include ../_includes/_mixins | For more details on how to use models with spaCy, see the | #[+a("/usage/models") usage guide on models]. + +h(3, "available-models") Available models + + include ../usage/_models/_available-models + +section("conventions") +h(2, "model-naming") Model naming conventions diff --git a/website/usage/_models/_available-models.jade b/website/usage/_models/_available-models.jade index b4fa1fc90..80cd9aedd 100644 --- a/website/usage/_models/_available-models.jade +++ b/website/usage/_models/_available-models.jade @@ -3,9 +3,8 @@ p | Model differences are mostly statistical. In general, we do expect larger | models to be "better" and more accurate overall. Ultimately, it depends on - | your use case and requirements, and we recommend starting with the default - | models (marked with a star below). For a more detailed overview, see the - | #[+a("/models") models directory]. + | your use case and requirements. We recommend starting with the default + | models (marked with a star below). +table(["Name", "Language", "Type"]) for models, lang in MODELS @@ -17,6 +16,3 @@ p +icon("star", 16).o-icon--inline.u-color-theme +cell #{LANGUAGES[comps.lang]} +cell #{MODEL_META[comps.type]} - -.u-text-right - +button("/models", true, "primary", "small") View models directory diff --git a/website/usage/models.jade b/website/usage/models.jade index 11a0901f4..6b9c4f2bf 100644 --- a/website/usage/models.jade +++ b/website/usage/models.jade @@ -24,6 +24,10 @@ p +h(2, "available") Available models include _models/_available-models + .u-text-right + +button("/models", true, "primary", "small") View models directory + + +section("install") +h(2, "download") Installing and using models include _models/_install