From a6e437b2bf93ffccbeb4e0f3006a1f07d7917fb7 Mon Sep 17 00:00:00 2001 From: Brad Jascob Date: Fri, 4 Sep 2020 02:03:35 -0600 Subject: [PATCH] Updates spaCy Universe for amrlib (#6020) * Updates spaCy Universe for amrlib * Updates to doc based on feedback --- website/meta/universe.json | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/website/meta/universe.json b/website/meta/universe.json index cf361435f..bd2cff65a 100644 --- a/website/meta/universe.json +++ b/website/meta/universe.json @@ -1967,6 +1967,28 @@ "category": ["pipeline"], "tags": ["inflection", "lemmatizer"] }, + { + "id": "amrlib", + "slogan": "A python library that makes AMR parsing, generation and visualization simple.", + "description": "amrlib is a python module and spaCy add-in for Abstract Meaning Representation (AMR). The system can parse sentences to AMR graphs or generate text from existing graphs. It includes a GUI for visualization and experimentation.", + "github": "bjascob/amrlib", + "pip": "amrlib", + "code_example": [ + "import spacy", + "import amrlib", + "amrlib.setup_spacy_extension()", + "nlp = spacy.load('en_core_web_sm')", + "doc = nlp('This is a test of the spaCy extension. The test has multiple sentences.')", + "graphs = doc._.to_amr()", + "for graph in graphs:", + " print(graph)" + ], + "author": "Brad Jascob", + "author_links": { + "github": "bjascob" + }, + "category": ["pipeline"] + }, { "id": "blackstone", "title": "Blackstone",