Update universe.json (#12709)

* Update universe.json

* Update universe.json

add some missing commas in the greCy's description.
This commit is contained in:
Jacobo Myerston 2023-06-12 04:55:20 -07:00 committed by GitHub
parent d65e3c31a6
commit daa6e0339f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 7 deletions

View File

@ -114,26 +114,30 @@
"id": "grecy", "id": "grecy",
"title": "greCy", "title": "greCy",
"slogan": "Ancient Greek pipelines for spaCy", "slogan": "Ancient Greek pipelines for spaCy",
"description": "greCy offers state-of-the-art pipelines for ancient Greek NLP. The repository makes language models available in various sizes, some of them containing floret word vectors and a BERT transformer layer.", "description": "greCy offers state-of-the-art pipelines for ancient Greek NLP. It installs language models available in various sizes, some of them containing either word vectors or the aristoBERTo transformer.",
"github": "jmyerston/greCy", "github": "jmyerston/greCy",
"pip": "grecy",
"code_example": [ "code_example": [
"import spacy", "python -m grecy install grc_proiel_trf",
"#After installing the grc_ud_proiel_trf wheel package from the greCy repository",
"", "",
"nlp = spacy.load('grc_ud_proiel_trf')", "#After installing grc_proiel_trf or any other model",
"doc = nlp('δοκῶ μοι περὶ ὧν πυνθάνεσθε οὐκ ἀμελέτητος εἶναι.')", "import spacy",
"",
"nlp = spacy.load('grc_proiel_trf')",
"doc = nlp('δοκῶ μοι περὶ ὧν πυνθάνεσθε οὐκ ἀμελέτητος εἶναι')",
"", "",
"for token in doc:", "for token in doc:",
" print(token.text, token.norm_, token.lemma_, token.pos_, token.tag_)" " print(f'{token.text}, lemma: {token.lemma_}, pos: {token.pos_}, dep: {token.dep_}')"
], ],
"code_language": "python", "code_language": "python",
"thumb": "https://jacobo-syntax.hf.space/media/03a5317fa660c142e41dd2870b4273ce4e668e6fcdee0a276891f563.png",
"author": "Jacobo Myerston", "author": "Jacobo Myerston",
"author_links": { "author_links": {
"twitter": "@jcbmyrstn", "twitter": "@jcbmyrstn",
"github": "jmyerston", "github": "jmyerston",
"website": "https://huggingface.co/spaces/Jacobo/syntax" "website": "https://huggingface.co/spaces/Jacobo/syntax"
}, },
"category": ["pipeline", "research"], "category": ["pipeline", "research","models"],
"tags": ["ancient Greek"] "tags": ["ancient Greek"]
}, },
{ {