Published November 12, 2021
| Version v0.7.0
Software
Open
textnets
Authors/Creators
Description
- Adds abilitiy to save and load an instance of
Corpus,Textnetandparamsto and from file usingCorpus.save,tn.load_corpus,Textnet.save,tn.load_textnet,tn.params.saveandtn.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
corpussubmodule, so thesublinearargument has to be passed to the methods for term extraction (tokenized,noun_phrasesandngrams). 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
igraphwith some relevant upstream changes contributed by yours truly, as well as spaCy.
Notes
Files
jboynyc/textnets-v0.7.0.zip
Files
(190.5 kB)
| Name | Size | Download all |
|---|---|---|
|
md5:f141240b66c8b21ed6eea0f160156a61
|
190.5 kB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/jboynyc/textnets/tree/v0.7.0 (URL)