There is a newer version of the record available.

Published October 14, 2021 | Version v0.6.0
Software Open

textnets

Authors/Creators

Description

  • Adds params as 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 parameter autodownload is 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 Corpus and TextnetBase-derived classes.
  • Adds a Corpus.from_dict method.
  • Corpus now exposes the lang attribute, so the corpus language can be set after initialization of a class instance.
  • The bipartite layout optionally used by Textnet.plot is now horizontal, so node types are arranged in columns rather than rows. That way node labels are less likely to overlap.
  • Adds label_nodes argument to the Textnet.plot method to label both types of nodes. Defaults to False.
  • Adds node_opacity and edge_opacity arguments for Textnet.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 Textnet class, you can now optionally pass the argument connected=True, in which case only the largest component of the underlying network is kept. When creating a one-mode projection using Textnet.project, a connected argument can also be passed.
  • Adds TextnetBase.save_graph to save the underlying graph (for instance, for further processing in Gephi).
  • Improved and extended documentation and docstrings.
  • Update dependencies.

Notes

If you use this package, please cite it as below.

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