From 089d345491872c753d6cb675420841311f5c6ba2 Mon Sep 17 00:00:00 2001 From: Jaidev Deshpande Date: Mon, 5 Apr 2021 22:32:27 +0530 Subject: [PATCH] Add Numerizer to SpaCy universe (#7650) Numerizer is a spaCy extension that converts numbers written in natural language into numeric strings. --- website/meta/universe.json | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/website/meta/universe.json b/website/meta/universe.json index 7aba03fd1..dcc9ce3d4 100644 --- a/website/meta/universe.json +++ b/website/meta/universe.json @@ -1,5 +1,27 @@ { "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", "title": "SpikeX - SpaCy Pipes for Knowledge Extraction",