add spaCyOpenTapioca to universe

This commit is contained in:
Renat Shigapov 2021-09-09 15:13:18 +02:00 committed by GitHub
parent aba6ce3a43
commit ea58294076
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -642,6 +642,32 @@
"website": "https://ines.io" "website": "https://ines.io"
} }
}, },
{
"id": "spacyopentapioca",
"title": "spaCyOpenTapioca",
"slogan": "Named entity linking on Wikidata in spaCy via OpenTapioca",
"description": "A spaCy wrapper of OpenTapioca for named entity linking on Wikidata",
"github": "UB-Mannheim/spacyopentapioca",
"pip": "spacyopentapioca",
"code_example": [
"import spacy",
"nlp = spacy.blank('en')",
"nlp.add_pipe('opentapioca')",
"doc = nlp('Christian Drosten works in Germany.')",
"for span in doc.ents:",
" print((span.text, span.kb_id_, span.label_, span._.description, span._.score))",
"# ('Christian Drosten', 'Q1079331', 'PERSON', 'German virologist and university teacher', 3.6533377082098895)",
"# ('Germany', 'Q183', 'LOC', 'sovereign state in Central Europe', 2.1099332471902863)",
"## Check also span._.types, span._.aliases, span._.rank"
],
"category": ["models", "pipeline"],
"tags": ["NER", "NEL"]
"author": "Renat Shigapov",
"author_links": {
"twitter": "_shigapov",
"github": "shigapov"
}
},
{ {
"id": "spacy_hunspell", "id": "spacy_hunspell",
"slogan": "Add spellchecking and spelling suggestions to your spaCy pipeline using Hunspell", "slogan": "Add spellchecking and spelling suggestions to your spaCy pipeline using Hunspell",