Automated text analysis with networks
Project description
textnets represents collections of texts as networks of documents and words. This provides novel possibilities for the visualization and analysis of texts.
This is a Python implementation of Chris Bail’s textnets package for R. It is free software under the terms of the GNU General Public License v3.
The idea underlying textnets is presented in this paper:
Christopher A. Bail, “Combining natural language processing and network analysis to examine how advocacy organizations stimulate conversation on social media,” Proceedings of the National Academy of Sciences of the United States of America 113, no. 42 (2016), 11823–11828, doi:10.1073/pnas.1607151113.
Features
textnets builds on the state-of-the-art library spacy for natural-language processing and igraph for network analysis. It uses the Leiden algorithm for community detection, which is able to perform community detection on the bipartite (word–group) network.
textnets seamlessly integrates with pandas and other parts of Python’s excellent scientific stack. That means that you can use textnets in Jupyter notebooks to analyze and visualize your data!
Read the documentation to find out more about the package’s features.
Learn More
Documentation |
|
Repository |
|
Issues & Ideas |
|
PyPI |
|
DOI |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for textnets-0.4.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 012a3ca3b8b61bd1207d0dc1e68905f2121567576a2941d46b996857c5b88042 |
|
MD5 | 6af16c4210b64d4b5fbfeb05c791ef7b |
|
BLAKE2b-256 | 8909f989ea41b05a02ab72baa6c10f92e59df855c25ce263725c901a01dc3f90 |