Can stylometry tell who wrote Dominic Cummings' controversial statement?

· Thomas Wood
Can stylometry tell who wrote Dominic Cummings' controversial statement?

Your NLP Career Awaits!

Ready to take the next step in your NLP journey? Connect with top employers seeking talent in natural language processing. Discover your dream job!

Find Your Dream Job

 One rule for the establishment, another for everyone else…

Owen Jones, The Guardian

Dominic Cumming’s statement in the Rose Garden

If you live in the UK it will have been hard to avoid the media coverage about Dominic Cummings' trip to Durham just after the start of the Coronavirus lockdown.

What incensed many Brits further was his televised statement given on 25 May from the Rose Garden at 10 Downing St. Many were expecting an apology for flouting the strict lockdown rules, but instead heard a series of lukewarm excuses.

Suspicion about the writing style from the Financial Times

Dominic Cummings reading his statement in the Rose Garden at Number 10

Then Allen Green at the Financial Times did a fascinating analysis of how the wording of the statement has been put together by a lawyer, giving at least three reasons for every action in case any assertion is later refuted.

Fast Data Science - London

Need a business solution?

NLP, ML and data science leader since 2016 - get in touch for an NLP consulting session.

That got me wondering: did Cummings write his statement or his lawyers?

Forensic stylometry analysis

I have tried to find this out using forensic stylometry, the science of identifying authors by their writing styles.

I had some code lying on my computer from an earlier experiment where I investigated whether JK Rowling really did write The Cuckoo’s Calling. I collected posts from Cummings' blog and a few other famous people in the political or public sphere and I calculated the similarity between the writing styles. (Incidentally, if you manage to read one of the lengthy posts on his blog from start to finish I will be impressed.)

When I calculated the probability of Cummings being the author, the results were inconclusive. My model gave a probability of about 50% that he wrote his statement. He was a more likely author than any of my other candidates.

[Stylometry](/natural-language-processing/fast-stylometry-python-library/) model output. Probability of likely authors of the Rose Garden statement

Probability of likely authors of the Rose Garden statement, based on personalities' blog posts and writings and calculated using the Burrows' delta algorithm.

Who really did write it?

I think that the reality is somewhere in the middle. Cummings probably drafted the statement and his lawyers made it legally watertight. The stylometry analysis is indicating he most likely made at least some contribution. This would make it a collaborative effort.

If you have a set of documents and you’d like to determine authorship, or simply extract data from them, I’d be keen to hear from you. Just write a comment or send me a message.

Unfortunately the Burrows' delta method of stylometry, which I used, tends to perform best on longer texts like books. There has been research into stylometry techniques that use deep learning and word vectors (Jasper et al), and which are capable of identifying authorship of short documents, however this is much harder to do that Burrows' delta.


  • Jasper et al, Authorship Verification on Short Text Samples Using Stylometric Embeddings, Lecture Notes in Computer Science (2018)
  • Evert et al, Towards a better understanding of Burrows’s Delta in literary authorship attribution, Proceedings of NAACL-HLT (2015)

Find Top NLP Talent!

Looking for experts in Natural Language Processing? Post your job openings with us and find your ideal candidate today!

Post a Job

Generative AI
Generative ai

Generative AI

Generative AI Introduction Generative AI, a subset of AI, is fundamentally transforming industries and shaping the future. Leveraging advanced algorithms, generative AI can create content, designs, and solutions that were previously unimaginable.

Big data
Big data

Big data

Big Data The emergence of big data has revolutionized industries, transforming traditional business models and decision-making processes. In this comprehensive exploration, we delve into what big data is, its significant impacts on business strategy, and how companies can leverage vast datasets to drive innovation and competitive advantage.

AI in finance
Ai in finance

AI in finance

AI in Finance The integration of artificial intelligence (AI) into the finance sector has revolutionized how institutions operate, from automating operations to enhancing customer engagement and improving risk management.

What we can do for you

Transform Unstructured Data into Actionable Insights

Contact us