mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
cc569a348d
Add global variable for models and generate all model listings programmatically
135 lines
5.6 KiB
JSON
135 lines
5.6 KiB
JSON
{
|
|
"globals": {
|
|
"title": "spaCy",
|
|
"description": "spaCy is a free open-source library featuring state-of-the-art speed and accuracy and a powerful Python API.",
|
|
|
|
"SITENAME": "spaCy",
|
|
"SLOGAN": "Industrial-strength Natural Language Processing in Python",
|
|
"SITE_URL": "https://spacy.io",
|
|
"EMAIL": "contact@explosion.ai",
|
|
|
|
"COMPANY": "Explosion AI",
|
|
"COMPANY_URL": "https://explosion.ai",
|
|
"DEMOS_URL": "https://demos.explosion.ai",
|
|
|
|
"SPACY_VERSION": "1.8",
|
|
"LATEST_NEWS": {
|
|
"url": "https://survey.spacy.io/",
|
|
"title": "Take the spaCy user survey and help us improve the library!"
|
|
},
|
|
|
|
"SOCIAL": {
|
|
"twitter": "spacy_io",
|
|
"github": "explosion",
|
|
"reddit": "spacynlp",
|
|
"codepen": "explosion",
|
|
"gitter": "explosion/spaCy"
|
|
},
|
|
|
|
"NAVIGATION": {
|
|
"Home": "/",
|
|
"Usage": "/docs/usage",
|
|
"Reference": "/docs/api",
|
|
"Demos": "/docs/usage/showcase",
|
|
"Blog": "https://explosion.ai/blog"
|
|
},
|
|
|
|
"FOOTER": {
|
|
"spaCy": {
|
|
"Usage": "/docs/usage",
|
|
"API Reference": "/docs/api",
|
|
"Tutorials": "/docs/usage/tutorials",
|
|
"Showcase": "/docs/usage/showcase"
|
|
},
|
|
"Support": {
|
|
"Issue Tracker": "https://github.com/explosion/spaCy/issues",
|
|
"StackOverflow": "http://stackoverflow.com/questions/tagged/spacy",
|
|
"Reddit usergroup": "https://www.reddit.com/r/spacynlp/",
|
|
"Gitter chat": "https://gitter.im/explosion/spaCy"
|
|
},
|
|
"Connect": {
|
|
"Twitter": "https://twitter.com/spacy_io",
|
|
"GitHub": "https://github.com/explosion/spaCy",
|
|
"Blog": "https://explosion.ai/blog",
|
|
"Contact": "mailto:contact@explosion.ai"
|
|
}
|
|
},
|
|
|
|
"QUICKSTART": [
|
|
{ "id": "os", "title": "Operating system", "options": [
|
|
{ "id": "mac", "title": "macOS / OSX", "checked": true },
|
|
{ "id": "windows", "title": "Windows" },
|
|
{ "id": "linux", "title": "Linux" }]
|
|
},
|
|
{ "id": "package", "title": "Package manager", "options": [
|
|
{ "id": "pip", "title": "pip", "checked": true },
|
|
{ "id": "conda", "title": "conda" },
|
|
{ "id": "source", "title": "from source" }]
|
|
},
|
|
{ "id": "python", "title": "Python version", "options": [
|
|
{ "id": 2, "title": "2.x" },
|
|
{ "id": 3, "title": "3.x", "checked": true }]
|
|
},
|
|
{ "id": "config", "title": "Configuration", "multiple": true, "options": [
|
|
{"id": "venv", "title": "virtualenv", "help": "Use a virtual environment and install spaCy into a user directory" }]
|
|
},
|
|
{ "id": "model", "title": "Models", "multiple": true, "options": [
|
|
{ "id": "en", "title": "English", "meta": "50MB" },
|
|
{ "id": "de", "title": "German", "meta": "645MB" },
|
|
{ "id": "fr", "title": "French", "meta": "1.33GB" }]
|
|
}
|
|
],
|
|
|
|
"QUICKSTART_MODELS": [
|
|
{ "id": "lang", "title": "Language", "options": [
|
|
{ "id": "en", "title": "English", "checked": true },
|
|
{ "id": "de", "title": "German" },
|
|
{ "id": "fr", "title": "French" }]
|
|
},
|
|
{ "id": "load", "title": "Loading style", "options": [
|
|
{ "id": "spacy", "title": "Use spacy.load()", "checked": true, "help": "Use spaCy's built-in loader to load the model by name." },
|
|
{ "id": "module", "title": "Import as module", "help": "Import the model explicitly as a Python module." }]
|
|
},
|
|
{ "id": "config", "title": "Options", "multiple": true, "options": [
|
|
{ "id": "example", "title": "Show usage example" }]
|
|
}
|
|
],
|
|
|
|
"MODELS": {
|
|
"en": [
|
|
{ "id": "en_core_web_sm", "lang": "English", "feats": [1, 1, 1, 1], "size": "50 MB", "license": "CC BY-SA", "def": true },
|
|
{ "id": "en_core_web_md", "lang": "English", "feats": [1, 1, 1, 1], "size": "1 GB", "license": "CC BY-SA" },
|
|
{ "id": "en_depent_web_md", "lang": "English", "feats": [1, 1, 1, 0], "size": "328 MB", "license": "CC BY-SA" },
|
|
{ "id": "en_vectors_glove_md", "lang": "English", "feats": [1, 0, 0, 1], "size": "727 MB", "license": "CC BY-SA" }
|
|
],
|
|
"de": [
|
|
{ "id": "de_core_news_md", "lang": "German", "feats": [1, 1, 1, 1], "size": "645 MB", "license": "CC BY-SA" }
|
|
],
|
|
"fr": [
|
|
{ "id": "fr_depvec_web_lg", "lang": "French", "feats": [1, 1, 0, 1], "size": "1.33 GB", "license": "CC BY-NC" }
|
|
]
|
|
},
|
|
|
|
"ALPHA": true,
|
|
"V_CSS": "1.6",
|
|
"V_JS": "1.2",
|
|
"DEFAULT_SYNTAX": "python",
|
|
"ANALYTICS": "UA-58931649-1",
|
|
"MAILCHIMP": {
|
|
"user": "spacy.us12",
|
|
"id": "83b0498b1e7fa3c91ce68c3f1",
|
|
"list": "89ad33e698"
|
|
},
|
|
"BADGES": {
|
|
"pipy": {
|
|
"badge": "https://img.shields.io/pypi/v/spacy.svg?style=flat-square",
|
|
"link": "https://pypi.python.org/pypi/spacy"
|
|
},
|
|
"conda": {
|
|
"badge": "https://anaconda.org/conda-forge/spacy/badges/version.svg",
|
|
"link": "https://anaconda.org/conda-forge/spacy"
|
|
}
|
|
}
|
|
}
|
|
}
|