mirror of https://github.com/explosion/spaCy.git
Updates spaCy Universe for amrlib (#6020)
* Updates spaCy Universe for amrlib * Updates to doc based on feedback
This commit is contained in:
parent
92d7832a86
commit
2160aafec6
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue