mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 18:06:29 +03:00
add textnets to spaCy universe (#10216)
https://github.com/jboynyc/textnets/issues/38
This commit is contained in:
parent
7b883da9fd
commit
10c77af83d
|
@ -3769,6 +3769,29 @@
|
||||||
},
|
},
|
||||||
"category": ["pipeline"],
|
"category": ["pipeline"],
|
||||||
"tags": ["pipeline", "nlp", "sentiment"]
|
"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"]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user