"To be or not to be central" - On the Stability of Network Centrality Measures in Shakespeare's "Hamlet"

1. Abstract

Introduction


Centrality measures derived from character networks can be used to detect the main characters in a play. For example, previous research has shown that characters with high network centrality typically perform the majority of speech acts and appear in most of the scenes (Fischer, Trilcke, Kittel, Milling, & Skorinkin, 2018). However, one can extract character networks from plays in various ways: Close reading may omit minor characters like attendants or servants, e.g., (Moretti, 2011), while distant reading (e.g., parsing an XML file) may include aggregate characters like “All”, “Both Lords”, or similar. Furthermore, the networks may display either implicit or explicit connections, depending on whether we connect characters because they appear in the same scene or because they are directly addressing each other, respectively. Thus, as adding more characters or connections to the network affects centralities and other network measures, the interpretation of both qualitative and quantitative aspects of characternetworks depends on the extraction method.
In this work we are concerned with the specific question whether details of the textual source and the extraction method, such as adding minor or aggregate characters, make the main characters less “central”. A negative answer to this question would provide us with a further evidence for the validity of automated literary network analysis.

Approach


We analyse six versions of the character network of Shakespeare’s “Hamlet”. All networks were extracted via close or distant reading from different XML or text sources (see Figure 1) and analysed with NetworkX (Python). For each network, we compute four different centrality measures (closeness, betweenness, degree, and eigenvector centrality). Subsequently, for each centrality measure, we rank the 26 characters common in all networks and compare character ranks in different networks by computing their Spearman rank correlation.

Figure 1. Basic statistics of the character networks

Observations, Conclusion, and Outlook

The networks including implicit connections are denser than those with only explicit connections (cf. Figure 1). This yields different centrality ranks including the most important characters (cf. Figure 2). For example, Horatio has many more implicit connections and connections to minor characters, which makes him the character with the highest degree centrality in the Haworth network. In the Moretti network, which contains only explicit connections, Hamlet has the highest degree centrality.

Figure 2. Degree centralities for the Haworth (implicit connections, distant reading) and Moretti (explicit connections, close reading) networks

Despite such individual differences, the groups of main characters derived from different networks exhibit relatively stable rankings, cf. (Fischer, Trilcke, Kittel, Milling, & Skorinkin, 2018). In contrast, rankings for minor characters tend to differ significantly (see Figure 3). Therefore, for detecting the group of main characters, the details of the network extraction method do not have a significant effect, at least in the datasets we consider. In future work we aim to validate the generality of this claim by considering larger corpora of dramatic plays.

Figure 3. Heatmaps depicting the rank correlation between closeness centralities derived from different networks for all, the 10 most important, and the 10 least important characters

Finally, we outline some further observations about different centrality measures: In our datasets, degree centrality is the most robust, exhibiting high rank correlation for all considered sets of characters. In contrast, eigenvector centrality has the widest range of rank correlations suggesting its high sensitivity with respect to the network structure.

Acknowledgements


The authors gratefully acknowledge permissions to use material from Martin Grandjean and Roger Haworth. The work was funded by the HRSM project “KONDE – Kompetenznetzwerk Digitale Edition”. The work of Bernhard C. Geiger was partially funded by the Austrian Academy of Sciences within the go!digital Next Generation project “DiSpecs” (GDNG_2018-046_DiSpecs). The Know-Center is funded within the Austrian COMET Program – Competence Centers for Excellent Technologies – under die auspices of the Austrian Federal Ministry of Transport, Innovation and Technology, the Austrian Federal Ministry of Digital and Economic Affairs, and by the State of Styria. COMET is managed by the Austrian Research Promotion Agency FFG.

References

Anastasia Klimashevskaia (klimashevskaya.anastasia@gmail.com), Signal Processing and Speech Communication Laboratory, Graz University of Technology, Graz, Austria, Bernhard C. Geiger , Know-Center GmbH, Graz, Austria, Martin Hagmüller , Signal Processing and Speech Communication Laboratory, Graz University of Technology, Graz, Austria, Denis Helic , Institute of Interactive Systems and Data Science, Graz University of Technology, Graz and Frank Fischer , Higher School of Economics, Moscow

Theme: Lux by Bootswatch.