mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-02 19:03:14 +03:00
Add LatinCy models to universe.json
This commit is contained in:
parent
dbc71ecd44
commit
a5524f3de4
|
@ -1,5 +1,33 @@
|
||||||
{
|
{
|
||||||
"resources": [
|
"resources": [
|
||||||
|
{
|
||||||
|
"id": "latincy",
|
||||||
|
"title": "LatinCy",
|
||||||
|
"thumb": "https://raw.githubusercontent.com/diyclassics/la_core_web_lg/main/latincy-logo.png",
|
||||||
|
"slogan": "Synthetic trained spaCy pipelines for Latin NLP",
|
||||||
|
"description": "Set of trained general purpose Latin-language 'core' pipelines for use with spaCy. The models are trained on a large amount of available Latin data, including all five of the Latin Universal Dependency treebanks, which have been preprocessed to be compatible with each other.",
|
||||||
|
"url": "https://huggingface.co/latincy",
|
||||||
|
"code_example": [
|
||||||
|
"import spacy",
|
||||||
|
"nlp = spacy.load('la_core_web_lg')",
|
||||||
|
"doc = nlp('Haec narranatur a poetis de Perseo')",
|
||||||
|
"",
|
||||||
|
"for token in doc:",
|
||||||
|
" print(f'{token.text}, {token.norm_}, {token.lemma_}, {token.pos_}')",
|
||||||
|
" break",
|
||||||
|
"",
|
||||||
|
"# > Haec, haec, hic, DET"
|
||||||
|
],
|
||||||
|
"code_language": "python",
|
||||||
|
"author": "Patrick J. Burns",
|
||||||
|
"author_links": {
|
||||||
|
"twitter": "@diyclassics",
|
||||||
|
"github": "diyclassics",
|
||||||
|
"website": "https://diyclassics.github.io/"
|
||||||
|
},
|
||||||
|
"category": ["pipeline", "research"],
|
||||||
|
"tags": ["latin"]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": "spacy-wasm",
|
"id": "spacy-wasm",
|
||||||
"title": "spacy-wasm",
|
"title": "spacy-wasm",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user