Published October 14, 2021
| Version v0.6.0
Software
Open
textnets
Authors/Creators
Description
- Adds
paramsas a container for global parameters. This makes it possible to fix the random seed and to change the resolution parameter for the community detection algorithm, among others. If the parameterautodownloadis set to true, textnets will attempt to download all required spaCy language models automatically. - Added HTML representation for the root module that displays versions of key dependencies.
- Added back string representations of
CorpusandTextnetBase-derived classes. - Adds a
Corpus.from_dictmethod. Corpusnow exposes thelangattribute, so the corpus language can be set after initialization of a class instance.- The bipartite layout optionally used by
Textnet.plotis now horizontal, so node types are arranged in columns rather than rows. That way node labels are less likely to overlap. - Adds
label_nodesargument to theTextnet.plotmethod to label both types of nodes. Defaults toFalse. - Adds
node_opacityandedge_opacityarguments forTextnet.plot. - Makes polygons marking clusters more visually appealing by adding opacity.
- Probably fixes a bug that would occasionally result in an exception being raised during plotting (
IndexError: color index too large). - When initializing an instance of the
Textnetclass, you can now optionally pass the argumentconnected=True, in which case only the largest component of the underlying network is kept. When creating a one-mode projection usingTextnet.project, aconnectedargument can also be passed. - Adds
TextnetBase.save_graphto save the underlying graph (for instance, for further processing in Gephi). - Improved and extended documentation and docstrings.
- Update dependencies.
Notes
Files
jboynyc/textnets-v0.6.0.zip
Files
(176.9 kB)
| Name | Size | Download all |
|---|---|---|
|
md5:9f0d7a9254a807fafc74f0a7ab43d5dd
|
176.9 kB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/jboynyc/textnets/tree/v0.6.0 (URL)