Sitemap
TDS Archive

An archive of data science, data analytics, data engineering, machine learning, and artificial intelligence writing from the former Towards Data Science Medium publication.

Member-only story

Mining and Modelling Character Networks — Part II

This article will cover the Python implementation of mining & modelling character networks

9 min readJan 6, 2022

--

Press enter or click to view image in full size
Image taken from Splash by NASA

If you haven’t already, I’d suggest you read the first part of this series. It’s a literature review of the research papers which we will try to implement in code in this article. I’ve linked the article below.

I dive into the Python implementation of mining text data for characters, creating the character network based on character interactions, and modelling these character networks through the Chung-Lu model. All of these concepts were previously discussed in “Mining and Modelling Character Networks” by Bonato et al. [1] and “Extraction and Analysis of Fictional Character Networks: A Survey”, Labatut and Bost [2].

The body of text this article will be analyzing is Alice in Wonderland, however, the code will be structured in a manner that any piece of text can be run through to yield its own results. Please note that Alice in Wonderland is in the public domain as it was published before January 1…

--

--

TDS Archive
TDS Archive

Published in TDS Archive

An archive of data science, data analytics, data engineering, machine learning, and artificial intelligence writing from the former Towards Data Science Medium publication.