From 0a6357b0f4839c187cedd9ac828bc9a5f73ef2c7 Mon Sep 17 00:00:00 2001 From: Vishnu Nandakumar <38393302+Vishnunkumar@users.noreply.github.com> Date: Mon, 26 Jun 2023 20:11:16 +0530 Subject: [PATCH] Update universe.json --- website/meta/universe.json | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/website/meta/universe.json b/website/meta/universe.json index 28cbec9bc..689ed4d2a 100644 --- a/website/meta/universe.json +++ b/website/meta/universe.json @@ -4176,17 +4176,25 @@ "tags": ["pipeline", "nlp", "sentiment"] }, { - "id": "spacyspellcheck", - "title": "spacyspellcheck", - "slogan": "Simple spell check with spacy", - "description": "Simple spell check using spacy and in build Levenshtein distance", - "github": "vishnunkumar/spacyspellcheck", + "id": "nligraphspacy", + "title": "nligraphspacy", + "slogan": "Knowledge graph using NLP Spacy", + "description": "Knowledge graph using NLP Spacy", + "github": "vishnunkumar/nligraphspacy", "pip": "spacyspellcheck", - "code_example": [ - "from spacyspellcheck.spellcheck import SpellCorrector", - "spacyspell = SpellCorrector('we cannt move forwad with that approach')", - "spacyspell.get_possible_misspelt()", - "# results: ['cannot', 'forward']" + "code_example": [, + "from nligraphspacy import NLIGRAPH", + "nligraph = NLIGRAPH.RelationEntityExtract('She worked in the city of London')", + "nligraph.process_text()", + "# ('She', 'worked', 'London')", + "nligraph.get_seperate_entities()", + "# [{'text': 'A', 'label': ''}", + "# {'text': 'DAG', 'label': 'SOURCE-NODE'}", + "# {'text': 'is', 'label': ''}", + "# {'text': 'used', 'label': 'EDGE'}", + "# {'text': 'for', 'label': ''}", + "# {'text': 'organizing', 'label': ''}", + "# {'text': 'tasks', 'label': 'TARGET-NODE'}]" ], "thumb": "", "image": "",