The algorithm pretty simple, 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.
Do you want to learn more?
We published our source code for everyone to review or reuse.
It depends on your views on writing style. Certainly, you can't rely on our analysis 100%. Try it and decide for yourself.
To contact us, please email to iwl@codingrobots.com
Great! Here are some books about writing: