mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
add spaCyOpenTapioca to universe
This commit is contained in:
parent
aba6ce3a43
commit
ea58294076
|
@ -642,6 +642,32 @@
|
|||
"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",
|
||||
"slogan": "Add spellchecking and spelling suggestions to your spaCy pipeline using Hunspell",
|
||||
|
|
Loading…
Reference in New Issue
Block a user