mirror of https://github.com/explosion/spaCy.git
Fix vector listing for core sm models in list overview (see #1513)
This commit is contained in:
parent
d5537e5516
commit
f0bdfb4471
|
@ -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",
|
||||
|
|
|
@ -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]}
|
||||
|
|
Loading…
Reference in New Issue