“Who Wrote That Email?”

Forensic Authorship Attribution and Stylometry

TASA ID: 3949

Some cases hinge on the authorship of a document.   Whether we want to know about the author of a defamatory email, the source of a ransom note, or the authenticity of a will, one of the most important pieces of evidence is the one that establishes who wrote it.    Historically, most documents were handwritten and handwriting experts (today they go by the title “forensic document examiners”) could determine who wrote something from the slant of an f or the height of a t.  Even with typewritten documents, they could notice a chipped or an out-of-line c and identify the specific typewriter that created the document.   Physical creation also produces physical variance.

Today, things are a little different. [1] Computer characters are not physical, but mathematical; one flat-ASCII A is literally identical to any other, regardless of who, when, or where the document was created.   To know who wrote a defamatory comment on a Web page, looking just at the physical properties of the artifact may not be enough.

Authorship attribution [2,3,4], sometimes called stylistic analysis or stylometry, is an increasingly important forensic discipline with applications. One well-known case was the identification of J.K. Rowling (the author of the best-selling Harry Potter series of books) as the true author of Robert Galbraith’s detective novel The Cuckoo’s Calling.  By looking at the writing style of Cuckoo, two different teams of scientists were able to show empirically that it was much more similar to the writing style of Rowling than to other authors’.[5]

It is a relatively simple matter to turn this kind of insight into the kind of evidence useful for court cases.   McMenamin’s report [6] in Ceglia v. Zuckerberg is a good example.  Among the issues in the case were a set of email, allegedly written by Mark Zuckerberg, the founder of Facebook, that were important evidence to prove Ceglia’s claims, amounting to 50% of Facebook. 

McMenamin hand-identified eleven specific “style markers” and checked to see if they were present in a sample of email known to be by Zuckerberg as well as in the “questioned” documents, the disputed email in Ceglia’s complaint. He found, for example, that “[a]postrophe’s indicating contraction and possession are sometimes absent in QUESTIONED, but always present in KNOWN-Zuckerberg,” a stylistic difference between the two groups.  Similarly, “[t]he word `internet’ starts with a small-i in the QUESTIONED writing but with a capital-I in KNOWN-Zuckerberg,” another difference.   Of the eleven style markers, nine were shown to be different between the two groups, and, in McMenamin’s opinion, “the differences demonstrat[e] a sufficiently significant set of differences,” and that; therefore, Zuckerberg was “not the author of the excerpted QUESTIONED references.” 

The Ceglia case dealt, of course, with a legal dispute under civil law.  The Rowling case did not appear in court, but was of substantial scholarly (and public) interest—and, of course, would be a model for a copyright dispute.  Grant [7] was able to help on a genuine whodunit, a murder case. One night in January, 2009, a fire broke out in a house in Staffordshire, UK.  A woman named Amanda Birks apparently died in the fire, but “forensic examination showed that fibers recovered from Amanda’s body were from her daytime clothes, and toxicology reports indicated that Amanda’s lungs contained little or no carbon monoxide.”  [7] Was she murdered and the fire set to cover it up?

Grant was able to analyze the SMS (text) messages sent from Amanda’s phone, and showed that “a shift in texting style occurred […] at 12:07 p.m.”   Put simply, After this time, the messages sent from Amanda’s phone lacked many features characteristic of her writing, and instead, showed features more typical of her husband.  For example, Amanda tended to write “dont” for “don’t,” while her husband tended to write “dnt.” Based on features like this, Grant concluded that the messages after 12:07 (the time of her actual death?) were not consistent with her own undisputed writing, but were instead consistent with her husband’s.  Presumably based in part on this evidence, “On the morning before trial, [the husband] changed his pleas to 'guilty’ [of the murder of his wife, of arson, and of the endangerment of his children and the firefighters]” and was sentenced to life in prison.

Chaski [1] provides another example of a murder case, where a dead body was found, an apparent suicide, with a word-processed “note” left on a home computer.   As in Grant’s case, no physical documents were present to analyze, but, also as in Grant’s case, there were suspicious circumstances surrounding the death (the death was apparently from injected drugs, but no needles were found near the body [8]).  Stylometric analysis showed that the “note” lacked key features of the victim’s writing, but was consistent with the writing of his roommate.   His roommate eventually admitted to writing the notes and was convicted.

Juola [9] describes an administrative case before the US immigration courts.  In this case, an online gadfly and critic of a foreign government sought to remain in the United States, fearing persecution if he were returned to that country.  Juola was able to establish that the anonymously-published articles critical of that government were consistent in writing style with other articles he had published under his own name.  Based in part upon this evidence, the man was permitted to remain in the United States.  Authorship attribution thus can be an important element of many different types of dispute resolution.   

How does this work?   The basic idea, as expressed by Coulthard [10] is that 

“[A]ll speaker/writers of a given language have their own personal form of that language, technically labeled an idiolect. A speaker/writer's idiolect will manifest itself in distinctive and cumulatively unique rule-governed choices for encoding meaning linguistically in the written and spoken communications they produce. For example, in the case of vocabulary, every speaker/writer has a very large learned and stored set of words built up over many years. Such sets may differ slightly or considerably from the word sets that all other speaker/writers have similarly built up, in terms both of stored individual items in their passive vocabulary and, more importantly, in terms of their preferences for selecting and then combining these individual items in the production of texts.”

A simple example of this can be found in well-known regional variations.   A speaker/writer who refers to a “lorry” parked on the “pavement” in front of an “ironmonger” is using words very common in Commonwealth English, but uncommon in US English.   An obvious question to the investigation officer, then, would be “who among your suspects is not from the United States?”  While it is possible for an American to make a point of using British vocabulary, or for a British editor to "regularise" spellings, there are other cues that are both more subtle and harder to control and change.

Figure 1: Where is the salad fork? (Image courtesy of, used by permission.)

Figure 1 shows an example of a complex, formal, table setting.  The reader is invited to answer the question “where is the salad fork?”   Perhaps surprisingly, there are many subtly different ways to answer it.    For example, it’s “the fork on the outside,” but also “to the left of the dinner fork” or “to the right of the napkin.” Even more subtly, it can be “to the left of the dinner fork,”  “on the left of the dinner fork,” or “at the left of the dinner fork.”  While the meaning of the expression does not change depending on which preposition is used, the details of the expression do.   Furthermore, this kind of subtle change is often not even noticed by the readers [11], who focus instead on the meaning instead of the exact expression.  As discussed below, Amanda’s husband may not even have noticed that his wife spelled “don’t” differently than he did.

An article by Binongo [12] illustrates this kind of analysis quite well.   In a study of the Oz books, started by L. Frank Baum and continued by Ruth Plumly Thompson, he focused on the authorship of the 13th book, The Royal Book of Oz.   After Baum’s death, the publishers asked Thompson to finish "notes and a fragmentary draft'' of what would become The Royal Book, and then Thompson herself continued the series until 1939, writing nearly twenty more books.  The question, then, is not who wrote the email, but who actually wrote the 15th Oz book?

Binongo collected frequency statistics on the fifty most common words in the undisputed works by both Baum and Thompson.  These fifty most common words, of course, included exactly the sort of “little” words like in the table-setting example -– prepositions, of course, but also articles, conjunctions, common adverbs, and similar instances of what linguists call “function words.”  These function words are so-called because they don’t have much content/meaning (consider trying to create a definition of “of,” for example), but instead describe the functional relations between words, such as an attribute or possessor. Psycholinguists have shown [11] that people have difficulty remembering the differences in sentences such as “Three turtles rested on a floating log and a fish swam beneath (it/them),” where the meaning of the two alternate sentences is the same. Many aspects of language appear to happen at a level below our conscious choices. The scientific foundation is firm enough that admissibility is rarely a problem.

One advantage of this approach, and especially of the computational variation, is that it is not limited to English.  Much research has been done [13] showing that the same types of analysis can produce evidence in many different languages. Another advantage of the computational approach is speed and volume; Juola’s computers could read eight mystery novels in a few minutes to analyze Rowling’s work, while Binongo’s computers could read almost fifty Oz books. In some cases, such as the famous Chevron v. Donziger litigation, computers have been able to help develop evidence from more than 200,000 pages of text.

Documents and their authorship have been key to litigation for centuries, but modern electronic documents introduce important changes into how to handle and authenticate them.  Authorship attribution is an important new field of forensic science that can help journalists, scholars, and litigators develop the evidence they need to win their cases.  


1.ChaskiCarole E. "Who’s at the Keyboard: Authorship Attribution in Digital Evidence Investigations." International Journal of Digital Evidence 4(1) (2005):Web. n/a.

2.JuolaPatrick. "Authorship Attribution." Foundations and Trends in Information Retrieval, 1(3) (2006)

3.KoppelMoshe ,SchlerJonathan, and ArgamonShlomo. "Computational Methods in Authorship Attribution." Journal of the American Society for Information Science and Technology 60(1) (2009):9-26.

4.StamatatosEfthstathios. “A Survey of Modern Authorship Attribution Methods.Journal of the American Society for Information Science and Technology 60(3) (2009):538-56.

5.JuolaPatrick. "The Rowling Case: A Proposed Standard Analytic Protocol for Authorship Questions." Digital Scholarship Humanities. 2015Web. 30 (suppl_1): i100-i113. doi: 10.1093/llc/fqv040

6.McMenaminGerald. "Declaration of Gerald McMenamin." 2011. Web.

7.GrantTim. "Txt 4n6: Describing and Measuring Consistency and Distinctiveness in the Analysis of SMS Text Messages." Journal of Law and Policy XXI(2) (2013):467-94. 

8.RamslandKatherine.  "Whether You’re Talking or Typing, You Can’t Hide Your Lies: A Fascinating New Branch of Forensic Science Spots Unconscious “Tells”."  Psychology Today. Web.14 July 2014.

9.JuolaPatrick. "Stylometry and Immigration: A Case Study." Journal of Law & Policy XXI(2) (2013):287-98.

10.CoulthardMalcolm. "On Admissible Linguistic Evidence." Journal of Law and Policy XXI(2) (2013):441-466

11.BransfordJohn D., BarclayJ. Richard, and FranksJeffery J. "Sentence Memory: A Constructive Versus Interpretive Approach." Cognitive Psychology 3(2) (1972):193-209.

12.BinongoJosé Nilo G. “Who Wrote the 15th Book of Oz? An Application of Multivariate Analysis to Authorship Attribution”, Chance 16(2): 9-17, 2003.

13.RossoPaolo, et al.  "Overview of PAN’16.  In: Fuhr N. et al (eds) Experimental IR Meets Multilinguality, Multimodality, and Interaction."  CLEF 2016. Lecture Notes in Computer Science 9822, 2016.

This article discusses issues of general interest and does not give any specific legal or business advice pertaining to any specific circumstances.  Before acting upon any of its information, you should obtain appropriate advice from a lawyer or other qualified professional.

This article may not be duplicated, altered, distributed, saved, incorporated into another document or website, or otherwise modified without the permission of TASA. Contact for any questions.

Tasa ID3949


Let Us Find Your Expert 

Note: This form is to be completed by legal and insurance professionals ONLY. If you are a party in a case that requires an expert witness, please have your attorney contact TASA at 800-523-2319.


Search Experts

TASA provides a variety of quality, independent experts who meet your case criteria. Search our extensive list of experts now.

Search Experts


  • I think it's always good to have access to experts when [TASA] make[s] the process so easy."

    Scott McIntosh, Lewis McIntosh & Teare, Royersford, PA

  • As a busy practitioner, managing a sizeable caseload, I can use all of the help available to me. If I can outsource a task, particularly one as important as securing a qualified expert, I will jump at the opportunity. I use TASA in nearly every case where I need to find an expert witness, be it an engineer, an architect, an economist, etc. They have thousands of qualified experts to refer in virtually any field. Best of all the process is extremely simple. When I need an expert I simply contact TASA, whose knowledgeable representatives ask you targeted questions about your case, your legal theories, and your goals, in order to find the right expert for your case. I usually receive CVs and calls from the potential expert within hours. If you find the originally selected person is not a good fit – for whatever reason – TASA will work with you to find the right person. I would happily recommend this service to any attorney."

    Patrick K. Gibson, Gibson & Perkins PC, Media, PA

  • Ms. Darlie I. McDonald RN was awesome on the witness stand, and we prevailed in our case to the tune of  [a] (highly unusual [amount] for a medical malpractice [case] in our area).  I'd highly recommend her."

    Shane Reed, Shane A. Reed Law Office, Jacksonville, OR

  • I appreciate your inquiries and offers of assistance as well as the consistently high-quality, well-organized, and erudite TASA webinars, which invariably have excellent presenters."

    Maurice S. Kane, Cummings McClorey Davis Acho and Associates PC, Riverside, CA

  • Steven Kursh was an outstanding technical expert on our ecommerce IP lawsuit. He completed a massive amount of work on extremely complicated material, in a very short period of time. His work product was first rate and I think he would have done a terrific job if the case proceeded to trial. He is very articulate and helped us. I only wish we had gotten him involved sooner in the litigation."

    Daniel J. Brown, Reiss Sheppe LLP, New York, NY

  • I thank you all for the response to my request for an expert witness...Both Mr. Scott and Mr. Bianchi appear to be well-qualified for this case, but we have hired another expert. As always, I was impressed by TASA's ability to produce exceptionally well-qualified candidates with great speed."

    John Thomas Dzialo, The Law Offices of John Thomas Dzialo, Santa Ana, CA

  • Thank you for your quick response and the names of the two proposed experts. The situation that gave rise to our search for these experts has resolved and we will not need to retain them. However, we will continue to keep TASA in mind as these needs arise from time to time as your breadth of coverage for experts of all types is unparalleled, in my experience."

    Bart W. Brizzee, County of San Bernadino, San Bernadino, CA

  • I have used TASA for the last five years for locating an expert for many personal injury cases. On each and every occasion, TASA was able to find me more than one qualified expert. With such a variety of experts, I was able to select one who met my client's needs in prosecuting these claims. I found the experts TASA referred not only qualified, but available on a moment's notice. Your fees are reasonable and fair, and I will continue to use TASA for the remainder of my career."

    Robert Oushalem, Esq., The Law Office of Robert Oushalem, San Jose, CA

  • I recently used TASA for the first time to locate an expert to testify in a case requiring rather unusual expertise and where there were no applicable regulations or standards for guidance. TASA referred an expert in California who was everything a lawyer looks for in a forensic expert. He was promptly available for consultation, efficiently prepared for deposition and trial and very persuasive and credible with the jury. TASA's administrative services and assistance in locating this expert were excellent, and we would certainly use both the expert and TASA in the future."

    Theodore Phillips, Miller Hauser Law Group, LLP, Placerville, CA

  • TASA has always given me first-class service, but in a recent matter, TASA found the 'needle-in-the-haystack' expert witness we feared didn't exist. We needed an expert for a very narrow and limited issue in a very narrow and limited industry. Because TASA has an extensive expert witness database, it was able to give us a referral almost on the spot. It's why I always turn to TASA first."

    Kathleen A. Herdell, Law Offices of Kathleen A. Herdell, St. Helena, CA

  • There are numerous companies that provide litigation experts. However, I always choose the TASA Group because of their quick response in finding a qualified expert for my particular case. I have extreme confidence in the TASA Group and will continue to use their services in the future."

    Katie A. Killion, Esq., Chiurazzi & Mengine, LLC, Pittsburgh, PA

  • I spent hours trying to locate an expert in a very technical case involving a defect in a medical device. I could have saved a lot of time by calling TASA first. Within hours, I was supplied with the name of an engineer who had more than 30 years of job training, education and expertise in the precise area involving the device. Bravo TASA!"

    Timothy W. Peach, Partner, Peach & Weathers, San Bernardino, CA

  • We were involved in a case pending for more than five years with seven parties from three states. Three mediations failed before we looked to TASA for an expert. TASA referred an expert who clearly understood the complexity of the project and could effectively support his opinion. If it weren't for his expert advice and deposition testimony, the case would not have settled. Interestingly, the case settled within 90 days from the date this expert began."

    Renee Colbert, Esq., Corporate Counsel, W.G. Tomko, Inc., Finleyville, PA

  • Using TASA to find experts for defending our client in a negligent homicide case ended up being one of the most important decisions we made in trial preparation. The experts they suggested were exactly what we needed for the case. I truly did not expect to find experts that would be such a perfect fit for the nature of case. TASA provided us with highly qualified experts in somewhat narrow fields of expertise. A large percentage of our victory is due to the experts recommended by TASA."

    Marta Farmer, Esq., Carl S. White Law Office, Haver, MT

  • I have used TASA's services since the 1980's and have never been disappointed. TASA is indispensable for locating that hard-to-find expert. TASA representatives have always been courteous and pleasant, with the attitude that they cannot do enough to help. I expect to continue using TASA throughout my career."

    Brad W. Greenberg, Esq., Smyth Law Offices, P.C., Brockton, MA

  • I needed to retain a multitude of scientists from a variety of disciplines for a complex litigation. Initially, I went through a series of interviews with an extremely knowledgeable and professional team of TASA advisors. They were able to find highly qualified experts in the specific fields, all of whom turned out to be superior in qualification and area of expertise to my adversary’s experts. I am a TASA believer!"

    Nooshin Namazi, Partner, Nicoletti Hornig & Sweeney, New York, NY

  • TASA always comes through in the difficult IP cases. Their representatives work with you to refine the search criteria and quickly send you a list of very qualified experts."

    Timothy L. Boller, Principal, Seed Intellectual Property Law Group, PLLC, Seattle, WA

  • Special thanks to our TASA referral advisor for her quick response to our initial request—we were extremely happy with how fast TASA was able to assist us! Your group does excellent work, and it is always my first stop when looking for an expert."

    Susanne K. Sullivan, Senior Attorney, Southwest Airlines Corporation, Dallas, TX

  • When we needed an expert in a patent infringement lawsuit, we turned to TASA. We were looking for a witness qualified in two unrelated technical areas, and TASA worked with us to identify and refine our requirements. TASA performed well, promptly providing us with several excellent candidates to consider, one of whom we retained."

    Joseph T. Miotke, Partner, IP Practice Group, Michael Best & Friedrich LLP, Milwaukee, WI

  • Our team had a very positive experience with TASA. The Expert was professional, efficient, and certainly an expert in his field. His work and testimony contributed to a winning decision for our client! We will recommend the Expert and TASA whenever appropriate."

    Stephanie Sprague, Esq., CT

  • (The Expert) WAS A PERFECT FIT for my case: qualified, competent, easy to work with, attentive to detail, knowledgeable, smart, communicative, enthusiastic, resourceful—have I left anything out? I highly recommend TASA and would be happy to share my experience with anyone else. Thank you!"

    Michael Porrazzo, Esq., The Porrazzo Law Firm, Mission Viejo, CA

  • The expert was very thorough. TASA was quick to respond with an answer to my request. I have used TASA in the past under various other law firms and have been pleased. TASA continues to live up to expectations and then some."

    Anne Desormier-Cartwright, Esq., Jupiter, FL

  • Your organization found us an appropriate expert witness in less than one day. This was excellent service. The expert you found was excellent and a pleasure to work with."

    William A. Ehrlich, Esq., Allentown, PA

  • (The Expert)…accomplished exactly what we wanted. TASA was very prompt and efficient in locating him. All fees were reasonable."

    J. Michael Lehman, Esq., Bruce, Bruce, & Lehman, Wichita, KS

  • We needed an Internet expert right away to meet a deadline. One phone call to TASA, and in less than a day, TASA called back with a list of 8-10 experts who were exactly what I needed. The TASA expert I chose knew the business and mechanics of the Internet so well—he was a PhD and professor who had written a book on the subject—that he put the fear of truth in the defendant that caused him to settle. When I get the kind of service that I did from TASA, I stick with it and use it again and again."

    Philip Green, Attorney at Law, Green and Green, San Rafael and San Francisco, CA

  • Excellent—in a word. I just do not have the time to hunt for experts. (The Expert) was fantastic. Thank you for providing such a quality service."

    Francesca Carinci, Esq., Steubenville, OH

  • TASA stands for Tops At Serving Attorneys. It’s always rewarding working with TASA."

    Marshall A. Bernstein, Esq., Philadelphia, PA.

  • That was, however, one of the best and most interesting webinars I've seen in the last few years.  Thank you for hosting it and introducing me to such a knowledgeable and caring person." - Referencing the Medicolegal Consequences of Post-Traumatic Stress Disorder in Civilian and Military Populations webinar. 

    Lori Bauer Apodaca, The Law Office of Lori Bauer Apodaca, Los Lunas, NM 

  • I needed a dental malpractice expert to assist me in a complex negligence claim. The very able staff at TASA had no difficulty identifying a knowledgeable professional who rendered a reasonable opinion in support of the case, which aided our client in receiving a fair amount of compensation. I am grateful to TASA for its invaluable assistance!"

    John Hermina, Hermina Law Group, New York, Pennsylvania, Maryland & Washington, DC

  • For many years I have relied upon TASAmed to provide excellent medical malpractice experts. As a sole practitioner, I find it reassuring to know that a seasoned expert is just a call away. Usually, TASAmed has found just the right expert in a day or two. The support and guidance I receive from TASAmed is a vital part of my law practice, and I have come to expect both great service and high rewards from my TASA cases."

    Thomas J. Massey, The Thomas J. Massey Law Firm, Fallbrook, CA

  • The caliber of physicians that TASAmed has referred to us is superb. Prior referral groups used the same experts over and over again. With TASAmed I have access to experts all over the United States. I’m not limited to the same experts. The TASAmed staff is easy to work with and very professional, with an established track record. When I call for a medical expert, I’m called back the same day, and I often have an idea of what expert will be contacted before my first call is completed."

    Kari Alexander, Certified Legal Nurse Consultant, Texas

  • We hadn’t been able to find the medical expert we needed, and, frankly, I didn’t think we’d find one in that field. TASAmed was able to find us an expert with the exact expertise and medical experience we needed. Your referral advisor was very helpful and found our expert in one day."

    Kurt Osenbaugh, Partner, Alston & Bird, Los Angeles, CA

  • TASAmed’s service was prompt and efficient in connecting us with the right person. The expert was so cooperative and helpful. With how challenging it is to find a narrow area of medical expertise, it’s extra helpful to have your TASAmed pool to plug into instantaneously."

    Greg Roosevelt, Esq., Law Office of Greg Roosevelt, Edwardsville, IL

  • TASAmed has connected me to credible experts in four medical cases just this year. TASAmed and the referred experts respond quickly, the fees are reasonable, and the referrals are well tuned to the fields I request. Since the experts are already associated with TASAmed, they are comfortable having substantial conversations about the case, both before and after record review."

    Martin A. Cannon, Esq., Cannon Law Offices, Crescent, IA

  • I have used TASAmed a number of times and have always been happy with your give-and-take timeliness. Once I requested a medical expert in a particular field, but, after speaking with your referral advisor, we concluded that an expert in another field would be more effective. That same day, I spoke to two experts the advisor gave me, and I retained one."

    Mark A. Lope, Esq., Lope and Honlihan, Butler, PA

  • Very close to the time of trial, the TASAmed advisor quickly referred me to several experienced ER trauma physicians to review medical records and prepare me for cross-examination. After selecting my expert, I over-nighted records for review, and the doctor found valuable information for my client's defense. Thank you, TASAmed, for this timely, specific, valuable referral."

    Charles Morgan, Esq., Law Office of Charles L. Morgan, Jr., Charlotte, NC