A Data Scientist Among the Manuscripts

Muhammad Sohaib Ayub

I am a data scientist. Before July, the networks I worked with were made of sensors and software, not sonnets. When I joined STEMMA, I had never opened a seventeenth-century manuscript, and I could not have told you who William Strode was. What I did know was how to look at a very large collection of records and ask what shape it has.

The team has spent years bringing five catalogues of early modern verse into one database, and my job is to study it as a whole. The results will come later, in papers. This post is about something that comes before results: what it is like to meet this kind of data for the first time, and how I have learned to look at it.

First, the data teaches you manners

In my field, a date is a date. Here, a date can be “c. 1630s”, “after 1587” or “mid-late 17th century”. At first I wanted to clean these up. My colleagues explained, patiently, that this is how manuscripts are dated, and that a range is more honest than a year. I now keep the ranges.

Authors were the second lesson. One copy of John Donne’s poem “The Storm”, in British Library Stowe MS 962, has Ben Jonson’s name in its heading. To me this looked like an error to correct. To a book historian it is evidence: somebody in the seventeenth century believed it, or wanted others to. The database keeps what the manuscript says, right or wrong.

The third lesson was spelling. The first line of that same poem appears as “Thou wch art I (tis nothinge to be soe)” in one catalogue and “Thou which art I (’tis nothing to be so)” in another. Deciding that these two records describe one copy took a lot of careful work by the people who came before me. I am very grateful that I arrived after it was done.

Second, you stop seeing a list and start seeing links

A catalogue is a list: this book holds these poems. A data scientist reads the same list sideways. If two books hold the same poem, that poem is a link between them. Somewhere, somehow, the poem got from one to the other, or both got it from a third place.

Most poems make no such link. A recent post on this blog showed how many poems survive in a single manuscript. But the poems that do appear in several books tie those books together, and the ties can reach further than you would expect.

Put all of these links together and the list of books turns into a picture like the one below. I find it hard to stop looking at it.

Several hundred dots joined by fine lines. Most dots gather in one large central cluster, with a second cluster to the left and smaller groups to the right.
Manuscripts in the STEMMA database drawn as a network. Each dot is a manuscript, and each line joins two manuscripts that share poems.

Here is one small example from inside that picture. Bodleian MS Eng. poet. e. 99, now in Oxford, and Huntington HM 116, now in California, do not have a single poem in common. But the Oxford manuscript shares Donne’s “The Anagram” with British Library Stowe MS 962 in London, the same manuscript that put Ben Jonson’s name on “The Storm”. And the London manuscript shares William Strode’s “I saw fair Cloris walk alone” with the one in California. Two steps take you between two books that seem to have nothing to do with each other.

Three boxes in a row for manuscripts in Oxford, London and California. The first two are joined by a line for a shared poem by Donne, the last two by a line for a shared poem by Strode. A dashed arc between the first and last says they have no poem in common.
Three manuscripts and two shared poems. The first and the last have no poem in common, but each shares one with the manuscript in the middle.

Third, you learn what a link does not say

This is where my colleagues keep me honest. A link between two books does not mean that their owners knew each other. It means only that the same poem was written into both. The copying could have happened years apart, through people we will never be able to name.

There is a second caution. We only see the books that survived. Many more were lost, and loose sheets were lost more easily than bound books. So the picture I work with is a picture of what is left, and I have to remember that every time I draw a conclusion from it.

What comes next

Once you see the collection as links, questions follow quickly. Which poems travelled together? Which manuscripts keep turning up in the same company? How did this change across two centuries? We are writing up the first answers now, and I hope to share them here when they are published.

For a data scientist, it is a rare thing to work with data where every row was once a person, a pen and a decision to copy a poem. I am enjoying it very much.