Skip to content

Releases: jboynyc/textnets

Textnets version 0.8.4

05 Oct 13:54
Compare
Choose a tag to compare
  • Updates to spaCy 3.4.1, igraph 0.10.1, and leidenalg 0.9.
  • Adds Ukrainian language code.
  • Improves type checking.

Textnets version 0.8.3

15 Jul 13:44
Compare
Choose a tag to compare
  • Updates to spaCy 3.4, bringing support for Croatian to textnets.
  • Updates various other dependencies.
  • Adds optional dependency for experimental Formal Concept Analysis features. To install, run pip install textnets[fca]. Graphviz must also be installed separately for lattice visualization purposes.

Textnets version 0.8.2

28 Jun 15:50
Compare
Choose a tag to compare
  • Makes TextnetBase an abstract base class, since it is not meant to be instantiated. Implements separate graph partition methods for the classes Textnet and ProjectedTextnet to work around an occasional bug.
  • Adds Finnish and Swedish language codes.
  • Improves type hints.
  • Adds dark mode to docs!

Textnets version 0.8.1

27 Jun 11:20
Compare
Choose a tag to compare
  • Fix bug #36.
  • Updates dependencies, including igraph and spaCy.

Textnets version 0.8.0

06 May 11:03
Compare
Choose a tag to compare
  • This release removes Python 3.7 compatibility. You now need to use Python 3.8, 3.9 or 3.10 to use textnets.
  • Fixes a bug in the HTML representation of the top-level module.
  • Updates dependencies, including spaCy.

Textnets version 0.7.1

08 Feb 21:16
Compare
Choose a tag to compare
  • Fixes #35 (invisible edges when scaling by weight).
  • Updates some dependencies.

Textnets version 0.7.0

12 Nov 23:04
Compare
Choose a tag to compare
  • Adds abilitiy to save and load an instance of Corpus, Textnet and params to and from file using Corpus.save, tn.load_corpus,
    Textnet.save, tn.load_textnet, tn.params.save and tn.params.load. The same file can be used for all three kinds of objects, so all relevant data for a project can be saved in one file.
  • Some further optimization of backbone extraction.
  • Adds bipartite centrality measures (HITS, CoHITS and BiRank) and a bipartite clustering coefficient.
  • Improved testing and type hints.
  • Expanded documentation with advanced topics, including the new save/load feature and interacting with other libraries for network analysis and machine learning. Docs now use the PyData theme.
  • Improvements to visualization. When plotting, nodes and edges can now be scaled by any attribute.
  • Breaking change: Term weighing now happens in the corpus submodule, so the sublinear argument has to be passed to the methods for term extraction (tokenized, noun_phrases and ngrams). This change will make it easier to add additional term extraction and weighing options.
  • Adds tn.init_seed() utility to quickly initialize pseudorandom number generator.
  • Adds Python 3.10 compatibility.
  • Updates dependencies, including igraph with some relevant upstream changes contributed by yours truly, as well as spaCy.

Textnets version 0.6.0

14 Oct 11:17
Compare
Choose a tag to compare
  • 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.

Textnets version 0.5.4

24 Sep 10:41
Compare
Choose a tag to compare

This release is an attempt to fix the cross-platform build and deploy pipeline (to ensure binary wheels for all platforms are uploaded to PyPI). Otherwise, there is no substantive change from previous release.

Textnets version 0.5.3

24 Sep 09:37
Compare
Choose a tag to compare
  • Adds Catalan, Macedonian and Russian language models.
  • Significantly speeds up backbone extraction by implementing the disparity filter integrand in Cython. (If the compiled extension
    cannot be loaded for some reason, it falls back on an interpreted function.)
  • PyPI should now receive binary wheels for Mac, Windows and Linux (via GitHub Actions) to ease installation on each platform.
  • Improved type annotations.
  • Update several dependencies.