Hostname: page-component-74656f9884-2dmjx Total loading time: 0 Render date: 2026-11-07T10:58:58.865Z Has data issue: false hasContentIssue false

Word Embeddings for the Analysis of Ideological Placement in Parliamentary Corpora

Published online by Cambridge University Press:  03 July 2019

Ludovic Rheault*
Affiliation:
Assistant Professor, Department of Political Science and Munk School of Global Affairs and Public Policy, University of Toronto, Canada. Email: ludovic.rheault@utoronto.ca
Christopher Cochrane
Affiliation:
Associate Professor, Department of Political Science, University of Toronto, Canada. Email: christopher.cochrane@utoronto.ca
Rights & Permissions [Opens in a new window]

Abstract

Word embeddings, the coefficients from neural network models predicting the use of words in context, have now become inescapable in applications involving natural language processing. Despite a few studies in political science, the potential of this methodology for the analysis of political texts has yet to be fully uncovered. This paper introduces models of word embeddings augmented with political metadata and trained on large-scale parliamentary corpora from Britain, Canada, and the United States. We fit these models with indicator variables of the party affiliation of members of parliament, which we refer to as party embeddings. We illustrate how these embeddings can be used to produce scaling estimates of ideological placement and other quantities of interest for political research. To validate the methodology, we assess our results against indicators from the Comparative Manifestos Project, surveys of experts, and measures based on roll-call votes. Our findings suggest that party embeddings are successful at capturing latent concepts such as ideology, and the approach provides researchers with an integrated framework for studying political language.

Information

Type
Articles
Copyright
Copyright © The Author(s) 2019. Published by Cambridge University Press on behalf of the Society for Political Methodology. 
Figure 0

Figure 1. Example of model with word and party embeddings. The figure shows a schematic example of input and output data in a model with $M=5$ and a window $\unicode[STIX]{x1D6E5}=3$. The model includes a variable indicating the party affiliation and parliament of the politician making the speech.

Figure 1

Figure 2. Party placement in the US House (1873–2016). The figure shows a two-dimensional projection of the two principal components of party embeddings for the US House of Representatives (a) and time-series plots for each of the two components separately in (b) and (c).

Figure 2

Table 1. Interpreting PCA axes.

Figure 3

Figure 3. Party placement in Britain (1935–2014) and Canada (1901–2017). The figure shows the two principal components of party embeddings for the British and Canadian parliaments.

Figure 4

Table 2. Accuracy of party placement against gold standards.

Figure 5

Figure 4. Comparison with WordFish estimates. The figure reports WordFish estimates for Democratic and Republican parties in the US House of Representatives, fitted on the full corpus (a) or using five Congresses from 2007 to 2015 (b).

Figure 6

Table 3. Accuracy of party placement in the US House: WordFish and party embeddings.

Figure 7

Figure 5. Ideological placement of Senators (114th Congress).

Figure 8

Table 4. Accuracy of Senator ideological placement.

Supplementary material: File

Rheault and Cochrane supplementary material

Online appendix

Download Rheault and Cochrane supplementary material(File)
File 425 KB