Afew years ago, a group of researchers from the Stanford Literary Lab decided to use topic modelling to extract geographical information from nineteenth-century novels. Though the study was eventually abandoned, it had revealed that London-related topics had become significantly more frequent in the course of the century, and when some of us were later asked to design a crowd-sourcing experiment, we decided to add a further dimension to those early findings, and see whether London place-names could become the cornerstone for an emotional geography of the city.footnote1 In the Atlas of the European Novel, Franco Moretti had already worked on the geography of London, mapping residences in Dickens and crimes in Conan Doyle. But emotions have a more elusive reality than buildings or murders, and only one of the Atlas’s hundred images—a map of foreign ideas in Russian novels—was somewhat comparable to the current project. To further complicate matters, when Moretti had shown that image to Serge Bonin, the historical geographer who was advising him about the Atlas, Bonin had been extremely critical: ideas like ‘materialism’ or ‘equality’ were not ortgebunden, as German geographers would say: they didn’t have that intrinsic connection to a specific place which is the basis of every real map. And if ideas were not mappable, how could emotions be?

Then, we encountered a passage in Philip Fisher’s Vehement Passions:

Each citizen . . . has a specific cluster of dangers of which she is constantly or intermittently in fear. Each person will localize the general anticipatory fear in a personal geography of fear . . . We now live in a new geography of fear . . . It is the passion of fear, above all, that isolates the element of suddenness and the part it plays within the passions.footnote2

Even more than the ‘geography of fear’, it was Fisher’s remark on the ‘suddenness’ of this emotion that we found illuminating. What is sudden occurs at a specific moment in time, and hence also at a specific point in space: it is definitely ortgebunden, to return to that notion. And if this is so, then a geography of emotions—their actual distribution over a map—becomes imaginable. A London of fear, joy, anger, hopefulness . . .

In programming the study, we began by identifying all proper names in the corpus via a Named Entity Recognition program, later removing from the list those terms that had nothing to do with London, like foreign toponyms, characters’ names, and the like.footnote3 The results are shown in Figures 2 and 3, below. The 382 London locations that had received at least ten mentions formed the basis of our second corpus: about 15,000 passages which—in a version of the keywords-in-context approach—included a specific place-name at the centre, plus the hundred words that preceded and followed it, as in the case of ‘Regent Street’ (see Figure 1). Taggers were then asked to read the 200-word passage and identify the emotion that best characterized it.

Text labelled 'a London place-name and its narrative context'. A long quote by Anthony Trollope in 'The Way We Live Now'. "He would go through it, always armed, without a sign of shrinking. It had to be done, and he would do it. At ten he walked down to the central committee-room at Whitehall Place. He thought that he would face the world better by walking than if he were taken in his own brougham. He gave orders that the carriage should be at the committee-room at eleven, and wait an hour for him if he was not there. He went along Bond Street and Picadilly, Regent Street and through Pall Mall to Charing Cross, with the blandly triumphant smile of a man who had successfully entertained the great guest of the day. As he got near the club he met two or three men whom he knew, and bowed to them. They returned his bow graciously enough, but not one of them stopped to speak to him. Of one he knew that he would have stopped, had it not been for the rumour. Even after the man had passed on he was careful to show no displeasure on his face. He would take it all as it would come and still be the blandly triumphant Merchant Prince -- as long as the police would allow him."
Two scatter plots. The first indicates the frequency of all geographic toponyms, 1700 to 1900. The second indicates the frequency of London toponyms, 1700 to 1900. Text below writes: "these charts - in which each dot represents an individual novel - update and confirm the findings from a few years ago, using a corpus of about 5000 English novels published between 1700 and 1900: 304 for the period 1700 to 1749, 1079 for 1750 to 1799, 1290 for 1800 to 1849, and 2189 for 1850 to 1899. The values on the y-axis are logarithmic - to include texts that have as few as 5or as many as 5000 toponyms - and make the historical trend appear less dramatic than it actually was; in fact, the frequency of London toponyms almost doubled in a century - increasing from a median of 102 in 1780 to 1800 to one of 190 in 1880 to 1900 - whereas that of geographical toponyms in general remained fundamentally flat."

At first, we were hoping to capture a wide spectrum of emotional attitudes; but the lack of agreement among the taggers—as well as among the English graduate students who offered to act as a control group—convinced us to reduce the options to the opposite extremes of fear and happiness.footnote4 As a further constraint, a passage would count as ‘frightening’ or ‘happy’ only if at least half of the taggers had identified it as such; and we re-ran all passages through a ‘sentiment analysis’ program.footnote5 And, eventually, some patterns began to emerge. But before coming to them, we need to sketch out the main material transformations of eighteenth- and nineteenth-century London.

In the period covered by our study, London changed like never before. Its population grew from around 600,000 in 1700 to 1,000,000 in 1800 and then, more dramatically, to 4,500,000 (or 6,500,000, depending on the criteria) in 1900. The nineteenth century, when most of the demographic leap occurred, was also decisive in the redefinition of the space—and in fact the very shape—of the city. Our sequence of London maps in Figure 4 clearly shows how, up to the first quarter of the nineteenth century, the fundamental urban axis ran horizontally from east to west on the north bank of the Thames, creating a strangely elongated rectangle.footnote6 It was only in Victorian times that London detached itself from the river, using major roads as so many tendrils to expand towards the north and south, and eventually transforming its initial shape into the circular pattern so typical of urban geography.

6 Maps of London indicating growth between 1682, 1746, 1792, 1827, 1856, and 1896.