Looking for experts in Natural Language Processing? Post your job openings with us and find your ideal candidate today!
Post a JobOne rule for the establishment, another for everyone else…
Owen Jones, The Guardian
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.
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
That got me wondering: did Cummings write his statement or his lawyers?
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.
Probability of likely authors of the Rose Garden statement, based on personalities' blog posts and writings and calculated using the Burrows' delta algorithm.
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.
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 JobIn natural language processing, we have the concept of word vector embeddings and sentence embeddings. This is a vector, typically hundreds of numbers, which represents the meaning of a word or sentence.
What we can do for you