a writer's blog

I Write Like… / Ich schreibe wie …

collateral tales

collateral tales

Do style and statistics mix? I’m not sure of this. But it gets me thinking.

Coding Robots’s I Write Like… has been around for a while, but I’ve never checked it out—until now, when I found the German version “Ich schreibe wie …” [no longer online, sadly], published last year by the online edition of the German newspaper Frankfurter Allgemeine Zeitung and based on the Coding Robots code.

I have no idea about how its algorithm works. The code has been open sourced, but I’ve never heard of the programming language “Racket,” and to go through it I’d have to a week off or two. The German-language article in the F.A.Z [also no longer online] about the tool isn’t particularly enlightening. But it’s a statistical analysis tool:

Actually, the algorithm is not a rocket science, and you can find it on every computer today. It’s a Bayesian classifier, which is widely used to fight spam on the Internet. Take for example the “Mark as spam” button in Gmail or Outlook. When you receive a message that you think is spam, you click this button, and the internal database gets trained to recognize future messages similar to this one as spam. This is basically how “I Write Like” works on my side: I feed it with “Frankenstein” and tell it, “This is Mary Shelley. Recognize works similar to this as Mary Shelley.” Of course, the algorithm is slightly different from the one used to detect spam, because it takes into account more stylistic features of the text, such as the number of words in sentences, the number of commas, semicolons, and whether the sentence is a direct speech or a quotation.

Now, I fed the German version my blog post Das Guttenberg-Krislein und die Modellierung einer Post-Demokratie, which—politics, snark, and all that—is a fairly typical piece for the style and tone I write in German. Now, wie schreibe ich?

Sigmund Freud

Okay. For the English version I picked my blog post Pig Stories, Dog Stories, Our Stories without the Hofstaedter quote, which—more essayistic, more emotional—is a rather typical example for how I write in English. How do I write?

I write like
George Orwell

I Write Like by Mémoires, journal software. Analyze your writing!

George Orwell? One of the best essayists who’s ever lived? Now that’s flattering! But I suspect it’s more likely because my blogpost has pigs and dogs in abundance, not because of my stylistic brilliance.

And Freud, well, that’s flattering too in many ways. And, come to think of it—maybe statistical algorithms have become our new kind of Über-Ich for the Digital Age, filtering out everything deemed unsuitable and socially disruptive.

Share

If you have something valuable to add or some interesting point to discuss, I’ll be looking forward to meeting you at Mastodon!

Tagged as: ,