Add Numerizer to SpaCy universe (#7650)

Numerizer is a spaCy extension that converts numbers written in natural language
into numeric strings.
This commit is contained in:
Jaidev Deshpande 2021-04-05 22:32:27 +05:30 committed by svlandeg
parent 7ab17a2ea1
commit 089d345491

View File

@ -1,5 +1,27 @@
{ {
"resources": [ "resources": [
{
"id": "numerizer",
"title": "numerizer",
"slogan": "Convert natural language numerics into ints and floats.",
"description": "A SpaCy extension for Docs, Spans and Tokens that converts numerical words and quantitative named entities into numeric strings.",
"github": "jaidevd/numerizer",
"pip": "numerizer",
"code_example": [
"from spacy import load",
"import numerizer",
"nlp = load('en_core_web_sm') # or any other model",
"doc = nlp('The Hogwarts Express is at platform nine and three quarters')",
"doc._.numerize()",
"# {nine and three quarters: '9.75'}"
],
"author": "Jaidev Deshpande",
"author_links": {
"github": "jaidevd",
"twitter": "jaidevd"
},
"category": ["standalone"]
},
{ {
"id": "spikex", "id": "spikex",
"title": "SpikeX - SpaCy Pipes for Knowledge Extraction", "title": "SpikeX - SpaCy Pipes for Knowledge Extraction",