Update languages for website

* Add Macedonian
* Add Russian dependencies
* Switch Chinese dependency to spacy-pkuseg
This commit is contained in:
Adriane Boyd 2021-01-18 12:05:44 +01:00
parent 2ae8dfbb93
commit e8f6400923

View File

@ -117,6 +117,12 @@
"models": ["lt_core_news_sm", "lt_core_news_md", "lt_core_news_lg"]
},
{ "code": "lv", "name": "Latvian" },
{
"code": "mk",
"name": "Macedonian",
"has_examples": false,
"models": ["mk_core_news_sm", "mk_core_news_md", "mk_core_news_lg"]
},
{ "code": "ml", "name": "Malayalam", "has_examples": true },
{ "code": "mr", "name": "Marathi" },
{
@ -159,7 +165,8 @@
"code": "ru",
"name": "Russian",
"has_examples": true,
"dependencies": [{ "name": "pymorphy2", "url": "https://github.com/kmike/pymorphy2" }]
"dependencies": [{ "name": "pymorphy2", "url": "https://github.com/kmike/pymorphy2" }],
"models": ["ru_core_news_sm", "ru_core_news_md", "ru_core_news_lg"]
},
{ "code": "sa", "name": "Sanskrit", "has_examples": true },
{ "code": "si", "name": "Sinhala", "example": "මෙය වාක්‍යයකි.", "has_examples": true },
@ -246,8 +253,8 @@
"url": "https://github.com/fxsjy/jieba"
},
{
"name": "PKUSeg",
"url": "https://github.com/lancopku/PKUSeg-python"
"name": "spacy-pkuseg",
"url": "https://github.com/explosion/spacy-pkuseg"
}
],
"has_examples": true