Etaoin shrdlu ( / ˈ ɛ t i ɔɪ n ˈ ʃ ɜːr d l uː / , / ˈ eɪ t ɑː n ʃ r ə d ˈ l uː / ) is a nonsense phrase that sometimes appeared by accident in print in the days of " hot type " publishing, resulting from a custom of type-casting machine operators filling out and discarding lines of type when an error was made. It appeared often enough to become part of newspaper lore – a documentary about the last issue of The New York Times composed using hot metal (July 2, 1978) was titled Farewell, Etaoin Shrdlu . The phrase "etaoin shrdlu" is listed in the Oxford English Dictionary and in the Random House Webster's Unabridged Dictionary .
30-534: The letters in the string are, approximately, the 12 most commonly used letters in the English language; differing sources do give slightly different results but one well-known sequence is ETAOINS RHLDCUM. ordered by their frequency . In the English version of Scrabble, the most common letters are E 12, AI 9, O 8, TNR 6, DLSU 4. The letters on type-casting machine keyboards (such as Linotype and Intertype ) were arranged by descending letter frequency to speed up
60-472: A dictionary. The lemma is the word in its canonical form. The second method is to include all word variants when counting, such as "abstracts", "abstracted" and "abstracting" and not just the lemma of "abstract". This second method results in letters like ⟨s⟩ appearing much more frequently, such as when counting letters from lists of the most used English words on the Internet. ⟨s⟩
90-523: A given language, since all writers write slightly differently. However, most languages have a characteristic distribution which is strongly apparent in longer texts. Even language changes as extreme as from Old English to modern English (regarded as mutually unintelligible) show strong trends in related letter frequencies: over a small sample of Biblical passages, from most frequent to least frequent, enaid sorhm tgþlwu æcfy ðbpxz of Old English compares to eotha sinrd luymw fgcbp kvjqxz of modern English, with
120-419: A mistake was made, the line could theoretically be corrected by hand in the assembler area. However, manipulating the matrices by hand within the partially assembled line was time-consuming and presented the chance of disturbing important adjustments. It was much quicker to fill out the bad line and discard the resulting line of text than it was to redo it properly. To make the line long enough to proceed through
150-425: A rudimentary technique for language identification , where it is particularly effective as an indication of whether an unknown writing system is alphabetic, syllabic , or ideographic . The use of letter frequencies and frequency analysis plays a fundamental role in cryptograms and several word puzzle games, including hangman , Scrabble , Wordle and the television game show Wheel of Fortune . One of
180-399: A table after measuring 40,000 words. In English, the space character occurs almost twice as frequently as the top letter ( ⟨e⟩ ) and the non-alphabetic characters (digits, punctuation, etc.) collectively occupy the fourth position (having already included the space) between ⟨t⟩ and ⟨a⟩ . The frequency of the first letters of words or names
210-496: A variety of sources (press reporting, religious texts, scientific texts and general fiction) and there are differences especially for general fiction with the position of ⟨h⟩ and ⟨i⟩ , with ⟨h⟩ becoming more common. Different dialects of a language will also affect a letter's frequency. For example, an author in the United States would produce something in which ⟨z⟩
240-627: Is a keyboard layout for Latin-script alphabets , designed to make typing more efficient and comfortable than QWERTY by placing the most frequently used letters of the English language on the home row while keeping many common keyboard shortcuts the same as in QWERTY. Released on 1 January 2006, it is named after its inventor, Shai Coleman. Most major modern operating systems such as macOS , Linux , Android , ChromeOS , and BSD support Colemak natively. Microsoft Windows supports Colemak as of Windows 11 update 24H2 . A program to install
270-562: Is especially common in inflected words (non-lemma forms) because it is added to form plurals and third person singular present tense verbs. A final method is to count letters based on their frequency of use in actual texts, resulting in certain letter combinations like ⟨th⟩ becoming more common due to the frequent use of common words like "the", "then", "both", "this", etc. Absolute usage frequency measures like this are used when creating keyboard layouts or letter frequencies in old fashioned printing presses. An analysis of entries in
300-418: Is hard for QWERTY typists to learn due to it being so different from the QWERTY layout. The layout has attracted media attention as an alternative to Dvorak for improving typing speed and comfort with an alternate keyboard layout. A series of intermediate layouts known as Tarmak have been created with the intention of making it easier for new users to adopt the layout. The layouts change only 3–5 keys at
330-519: Is helpful in pre-assigning space in physical files and indexes. Given 26 filing cabinet drawers, rather than a 1:1 assignment of one drawer to one letter of the alphabet, it is often useful to use a more equal-frequency-letter code by assigning several low-frequency letters to the same drawer (often one drawer is labeled VWXYZ), and to split up the most-frequent initial letters ( ⟨s, a, c⟩ ) into several drawers (often 6 drawers Aa-An, Ao-Az, Ca-Cj, Ck-Cz, Sa-Si, Sj-Sz). The same system
SECTION 10
#1732783346175360-651: Is more common than an author in the United Kingdom writing on the same topic: words like "analyze", "apologize", and "recognize" contain the letter in American English, whereas the same words are spelled "analyse", "apologise", and "recognise" in British English. This would highly affect the frequency of the letter ⟨z⟩ , as it is rarely used by British writers in the English language. The "top twelve" letters constitute about 80% of
390-492: Is significantly different from the overall frequency of all the digits in a set of numeric data, an observation known as Benford's law . An analysis by Peter Norvig on words that appear 100,000 times or more in Google Books data transcribed using optical character recognition (OCR) determined the frequency of first letters of English words, among other things. *See İ and dotless I . The figure below illustrates
420-582: Is the number of times letters of the alphabet appear on average in written language . Letter frequency analysis dates back to the Arab mathematician Al-Kindi ( c. 801 –873 AD), who formally developed the method to break ciphers . Letter frequency analysis gained importance in Europe with the development of movable type in 1450 AD, where one must estimate the amount of type required for each letterform . Linguists use letter frequency analysis as
450-513: Is used in some multi-volume works such as some encyclopedias . Cutter numbers , another mapping of names to a more equal-frequency code, are used in some libraries. Both the overall letter distribution and the word-initial letter distribution approximately match the Zipf distribution and even more closely match the Yule distribution . Often the frequency distribution of the first digit in each datum
480-517: Is visibly different from Faulkner 's. Letter, bigram , trigram , word frequencies, word length, and sentence length can be calculated for specific authors, and used to prove or disprove authorship of texts, even for authors whose styles are not so divergent. Accurate average letter frequencies can only be gleaned by analyzing a large amount of representative text. With the availability of modern computing and collections of large text corpora , such calculations are easily made. Examples can be drawn from
510-536: The Caesar cipher used by Julius Caesar , so this method could have been explored in classical times). Letter frequency analysis gained additional importance in Europe with the development of movable type in 1450 AD, where one must estimate the amount of type required for each letterform, as evidenced by the variations in letter compartment size in typographer's type cases. No exact letter frequency distribution underlies
540-650: The Dvorak layout for people who already type in QWERTY without losing efficiency. It shares several design goals with the Dvorak layout, such as minimizing finger path distance and making heavy use of the home row. 74% of typing is done on the home row compared to 70% for Dvorak and 32% for QWERTY. The default Colemak layout lacks a Caps Lock key; an additional Backspace key occupies the typical position of Caps Lock on modern keyboards. Coleman states that he designed Colemak to be fun and easy to learn, explaining that Dvorak
570-447: The VIC cipher or some other cipher based on a straddling checkerboard typically uses a mnemonic such as "a sin to err" (dropping the second "r") or "at one sir" to remember the top eight characters. There are three ways to count letter frequency that result in very different charts for common letters. The first method, used in the chart below, is to count letter frequency in lemmas of
600-524: The home row of the Blickensderfer typewriter , the Dvorak keyboard layout , Colemak and other optimized layouts. The frequency of letters in text has been studied for use in cryptanalysis , and frequency analysis in particular, dating back to the Arab mathematician al-Kindi (c. 801–873 AD), who formally developed the method (the ciphers breakable by this technique go back at least to
630-540: The Concise Oxford dictionary, ignoring frequency of word use, gives an order of "EARIOTNSLCUDPMHGBFYWKVXZJQ". The letter-frequency table below is taken from Pavel Mička's website, which cites Robert Lewand's Cryptological Mathematics . According to Lewand, arranged from most to least common in appearance, the letters are: etaoinshrdlcumwfgypbvkjxqz . Lewand's ordering differs slightly from others, such as Cornell University Math Explorer's Project, which produced
SECTION 20
#1732783346175660-441: The English letter frequency sequence as " ETAON RISHD LFCMU GYPWB VKJXZQ ", the most common letter pairs as "TH HE AN RE ER IN ON AT ND ST ES EN OF TE ED OR TI HI AS TO", and the most common doubled letters as "LL EE SS OO TT FF RR NN PP CC". Different ways of counting can produce somewhat different orders. Letter frequencies also have a strong effect on the design of some keyboard layouts . The most frequent letters are placed on
690-530: The earliest descriptions in classical literature of applying the knowledge of English letter frequency to solving a cryptogram is found in Edgar Allan Poe 's famous story " The Gold-Bug ", where the method is successfully applied to decipher a message giving the location of a treasure hidden by Captain Kidd . Herbert S. Zim , in his classic introductory cryptography text Codes and Secret Writing , gives
720-501: The frequency distributions of the 26 most common Latin letters across some languages. All of these languages use a similar 25+ character alphabet. Based on these tables, the ' etaoin shrdlu ' equivalent for each language is as follows: Useful tables for single letter, digram, trigram, tetragram, and pentagram frequencies based on 20,000 words that take into account word-length and letter-position combinations for words 3 to 7 letters in length: Colemak Colemak
750-533: The layout on older versions of Windows is available. On Android and iOS, the layout is offered by several virtual keyboard apps like GBoard and SwiftKey, as well as by many apps which support physical keyboards directly. The Colemak layout was designed with the QWERTY layout as a base, changing the positions of 17 keys while retaining the QWERTY positions of most non-alphabetic characters and many popular keyboard shortcuts , supposedly making it easier to learn than
780-428: The machine, operators would finish it by running a finger down the first columns of the keyboard, which created a pattern that could be easily noticed by proofreaders. Occasionally such a line would be overlooked and make its way into print. The phrase has gained enough notability to appear outside typography, including: Letter frequency#Relative frequencies of letters in the English language Letter frequency
810-409: The mechanical operation of the machine, so lower-case e-t-a-o-i-n and s-h-r-d-l-u were the first two columns on the left side of the keyboard. Each key would cause a brass 'matrix' (an individual letter mold) from the corresponding slot in a font magazine to drop and be added to a line mold. After a line had been cast, the constituent matrices of its mold were returned to the font magazine. If
840-662: The most extreme differences concerning letterforms not shared. Linotype machines for the English language assumed the letter order, from most to least common, to be etaoin shrdlu cmfwyp vbgkqj xz based on the experience and custom of manual compositors. The equivalent for the French language was elaoin sdrétu cmfhyp vbgwqj xz . Arranging the alphabet in Morse into groups of letters that require equal amounts of time to transmit, and then sorting these groups in increasing order, yields e it san hurdm wgvlfbk opxcz jyq . Letter frequency
870-451: The total usage. The "top eight" letters constitute about 65% of the total usage. Letter frequency as a function of rank can be fitted well by several rank functions, with the two-parameter Cocho/Beta rank function being the best. Another rank function with no adjustable free parameter also fits the letter frequency distribution reasonably well (the same function has been used to fit the amino acid frequency in protein sequences. ) A spy using
900-695: Was used by other telegraph systems, such as the Murray Code . Similar ideas are used in modern data-compression techniques such as Huffman coding . Letter frequencies, like word frequencies , tend to vary, both by writer and by subject. For instance, ⟨d⟩ occurs with greater frequency in fiction, as most fiction is written in past tense and thus most verbs will end in the inflectional suffix -ed / -d . One cannot write an essay about x-rays without using ⟨x⟩ frequently. Different authors have habits which can be reflected in their use of letters. Hemingway 's writing style, for example,
#174825