Merge branch 'develop' of https://github.com/explosion/spaCy into develop

This commit is contained in:
Matthew Honnibal 2018-08-16 17:18:19 +02:00
commit f0e6be689a
5 changed files with 19 additions and 5 deletions

View File

@ -14,7 +14,7 @@
"MODELS_REPO": "explosion/spacy-models",
"SPACY_VERSION": "2.1",
"BINDER_VERSION": "2.0.11",
"BINDER_VERSION": "2.0.12",
"SOCIAL": {
"twitter": "spacy_io",
@ -85,7 +85,7 @@
],
"V_CSS": "2.2.1",
"V_JS": "2.2.2",
"V_JS": "2.2.4",
"DEFAULT_SYNTAX": "python",
"ANALYTICS": "UA-58931649-1",
"MAILCHIMP": {

View File

@ -49,6 +49,7 @@ import initUniverse from './universe.vue.js';
if (window.Juniper) {
new Juniper({
repo: 'ines/spacy-io-binder',
branch: 'live',
storageExpire: 60
});
}

View File

@ -10,6 +10,7 @@ export default function(repo) {
'CC BY-SA 4.0': 'https://creativecommons.org/licenses/by-sa/4.0/',
'CC BY-NC': 'https://creativecommons.org/licenses/by-nc/3.0/',
'CC BY-NC 3.0': 'https://creativecommons.org/licenses/by-nc/3.0/',
'CC BY-NC 4.0': 'https://creativecommons.org/licenses/by-nc/4.0/',
'CC-BY-NC-SA 3.0': 'https://creativecommons.org/licenses/by-nc-sa/3.0/',
'GPL': 'https://www.gnu.org/licenses/gpl.html',
'LGPL': 'https://www.gnu.org/licenses/lgpl.html',
@ -33,8 +34,8 @@ export default function(repo) {
version: 'n/a',
notes: null,
sizeFull: null,
fullName: null,
pipeline: null,
releaseUrl: null,
description: null,
license: null,
author: null,
@ -61,6 +62,10 @@ export default function(repo) {
},
hasAccuracy() {
return this.uas || this.las || this.tags_acc || this.ents_f || this.ents_p || this.ents_r;
},
releaseUrl() {
const baseUrl = `${this.repo}/releases`;
return `${baseUrl}/${this.fullName ? `/tag/${this.fullName}` : ''}`
}
},
beforeMount() {
@ -78,9 +83,8 @@ export default function(repo) {
},
methods: {
$_updateData(data) {
const fullName = `${data.lang}_${data.name}-${data.version}`;
this.fullName = `${data.lang}_${data.name}-${data.version}`;
this.version = data.version;
this.releaseUrl = `${this.repo}/releases/tag/${fullName}`;
this.sizeFull = data.size;
this.pipeline = data.pipeline;
this.notes = data.notes;

View File

@ -12,6 +12,7 @@
"French": "fr",
"Italian": "it",
"Dutch": "nl",
"Greek": "el",
"Multi-Language": "xx"
}
},
@ -46,6 +47,7 @@
"fr": ["fr_core_news_sm", "fr_core_news_md"],
"it": ["it_core_news_sm"],
"nl": ["nl_core_news_sm"],
"el": ["el_core_news_sm", "el_core_news_md"],
"xx": ["xx_ent_wiki_sm"]
},
@ -83,6 +85,7 @@
"CC BY-SA 4.0": "https://creativecommons.org/licenses/by-sa/4.0/",
"CC BY-NC": "https://creativecommons.org/licenses/by-nc/3.0/",
"CC BY-NC 3.0": "https://creativecommons.org/licenses/by-nc/3.0/",
"CC BY-NC 4.0": "https://creativecommons.org/licenses/by-nc/4.0/",
"CC-BY-NC-SA 3.0": "https://creativecommons.org/licenses/by-nc-sa/3.0/",
"GPL": "https://www.gnu.org/licenses/gpl.html",
"LGPL": "https://www.gnu.org/licenses/lgpl.html"

6
website/models/el.jade Normal file
View File

@ -0,0 +1,6 @@
//- 💫 DOCS > MODELS > EL
include ../_includes/_mixins
//- This is a placeholder. The page is rendered via the template at
//- /_includes/_page-model.jade.