From 2854724e697400be7675ba172bb658bedcb24aed Mon Sep 17 00:00:00 2001 From: oterrier Date: Wed, 10 Apr 2019 17:54:42 +0200 Subject: [PATCH] Added project gracyql to Universe (#3570) (resolves #3568) As discussed with Ines in https://github.com/explosion/spaCy/issues/3568 , adding a new project proposal for the community in SpaCy Universe website GracyQL a tiny graphql wrapper aroung spacy using graphene and starlette. ## Description Change only in universe.json file to add a new project ### Types of change New project reference in Universe ## Checklist - [x ] I have submitted the spaCy Contributor Agreement. - [x ] I ran the tests, and all new and existing tests passed. - [ x] My changes don't require a change to the documentation, or if they do, I've added all required information. --- website/meta/universe.json | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/website/meta/universe.json b/website/meta/universe.json index 3da6a79c3..41960cec4 100644 --- a/website/meta/universe.json +++ b/website/meta/universe.json @@ -1311,6 +1311,41 @@ "website": "http://w4nderlu.st" }, "category": ["standalone", "research"] + }, + { + "id": "gracyql", + "title": "gracyql", + "slogan": "A thin GraphQL wrapper around spacy", + "github": "oterrier/gracyql", + "description": "An example of a basic [Starlette](https://github.com/encode/starlette) app using [Spacy](https://github.com/explosion/spaCy) and [Graphene](https://github.com/graphql-python/graphene). The main goal is to be able to use the amazing power of spaCy from other languages and retrieving only the information you need thanks to the GraphQL query definition. The GraphQL schema tries to mimic as much as possible the original Spacy API with classes Doc, Span and Token.", + "thumb": "https://i.imgur.com/xC7zpTO.png", + "category": ["apis"], + "tags": ["graphql"], + "code_example": [ + "query ParserDisabledQuery {", + " nlp(model: \"en\", disable: [\"parser\", \"ner\"]) {", + " doc(text: \"I live in Grenoble, France\") {", + " text", + " tokens {", + " id", + " pos", + " lemma", + " dep", + " }", + " ents {", + " start", + " end", + " label", + " }", + " }", + " }", + "}" + ], + "code_language": "json", + "author": "Olivier Terrier", + "author_links": { + "github": "oterrier" + } } ], "categories": [