From 10c77af83d700c78aaf08be793e78b5d79f8550a Mon Sep 17 00:00:00 2001 From: John Boy <2187261+jboynyc@users.noreply.github.com> Date: Wed, 9 Feb 2022 06:04:26 +0000 Subject: [PATCH] add textnets to spaCy universe (#10216) https://github.com/jboynyc/textnets/issues/38 --- website/meta/universe.json | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/website/meta/universe.json b/website/meta/universe.json index 1a67de67b..4ded8880f 100644 --- a/website/meta/universe.json +++ b/website/meta/universe.json @@ -3769,6 +3769,29 @@ }, "category": ["pipeline"], "tags": ["pipeline", "nlp", "sentiment"] + }, + { + "id": "textnets", + "slogan": "Text analysis with networks", + "description": "textnets represents collections of texts as networks of documents and words. This provides novel possibilities for the visualization and analysis of texts.", + "github": "jboynyc/textnets", + "image": "https://user-images.githubusercontent.com/2187261/152641425-6c0fb41c-b8e0-44fb-a52a-7c1ba24eba1e.png", + "code_example": [ + "import textnets as tn", + "", + "corpus = tn.Corpus(tn.examples.moon_landing)", + "t = tn.Textnet(corpus.tokenized(), min_docs=1)", + "t.plot(label_nodes=True,", + " show_clusters=True,", + " scale_nodes_by=\"birank\",", + " scale_edges_by=\"weight\")" + ], + "author": "John Boy", + "author_links": { + "github": "jboynyc", + "twitter": "jboy" + }, + "category": ["visualizers", "standalone"] } ],