Textnets

Latest version: v0.9.4

Safety actively analyzes 629436 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 6

0.8.7

* Updates to spaCy 3.5 and igraph 0.10.4.
* When initializing `Corpus` with data that includes duplicated document labels, issue a warning, and concatenate documents with shared labels. (Implemented in response to 54).
* Various code quality improvements.

0.8.6

* Improves documentation.
* Progress bar for long-running operations (NLP and disparity filter). The progress bar is not shown during non-interactive use. To disable, set `tn.params["progress_bar"] = False`.
* Python 3.11 compatibility now confirmed on Windows, too.

0.8.5

* Python 3.11 compatibility! (YMMV if using Windows.)
* Adds an optional parameter `remove_weak_edges` when initializing a `Textnet` to create a sparser graph.
* Adds `ProjectedTextnet.m` property to access one-mode graphs' adjacency matrices.
* Adds Stoltz and Taylor's ([2019](https://doi.org/10.1177/2378023119827674)) textual spanning measure.
* Adds `TextnetBase.cluster_strength` and `TextnetBase.cluster_local_cc` to calculate the weighted degree and local clustering coefficient of nodes within the subgraph formed by the cluster they belong to.
* Improves display of top nodes per cluster (`top_cluster_nodes`).
* Adds Korean language code.
* Fixes several bugs that occurred when setting document attributes.
* Updated and expanded [documentation](https://textnets.readthedocs.io/).

0.8.4

* Updates to spaCy 3.4.1, `igraph` 0.10.1, and `leidenalg` 0.9.
* Adds Ukrainian language code.
* Improves type checking.

0.8.3

* 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](https://graphviz.org/) must also be installed separately for lattice visualization purposes.

0.8.2

* 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!

Page 2 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.