Fix vector listing for core sm models in list overview (see #1513)

This commit is contained in:
ines 2017-11-08 16:24:27 +01:00
parent d5537e5516
commit f0bdfb4471
2 changed files with 3 additions and 1 deletions

View File

@ -52,6 +52,7 @@
"MODEL_META": {
"core": "Vocabulary, syntax, entities, vectors",
"core_sm": "Vocabulary, syntax, entities",
"dep": "Vocabulary, syntax",
"ent": "Named entities",
"vectors": "Word vectors",

View File

@ -10,9 +10,10 @@ p
for models, lang in MODELS
for model, i in models
- var comps = getModelComponents(model)
- var type = comps.size == "sm" && comps.type == "core" ? "core_sm" : comps.type
+row
+cell #[+a("/models/" + lang + "#" + model) #[code=model]]
if i == 0
+icon("star", 16).o-icon--inline.u-color-theme
+cell #{LANGUAGES[comps.lang]}
+cell #{MODEL_META[comps.type]}
+cell #{MODEL_META[type]}