"James while John had had had had had had had had had had had a better effect on the teacher" is an English sentence used to demonstrate lexical ambiguity and the necessity of punctuation,[1] which serves as a substitute for the intonation,[2] stress, and pauses found in speech.[3] In human information processing research, the sentence has been used to show how readers depend on punctuation to give sentences meaning, especially in the context of scanning across lines of text.[4] The sentence is sometimes presented as a puzzle, where the solver must add the punctuation.
The sentence refers to two students, James and John, who are required by an English teacher to describe a man who had suffered from a cold in the past. John writes "The man had a cold", which the teacher marks incorrect, while James writes the correct "The man had had a cold". James's answer, being more grammatical, resulted in a better impression on the teacher.[5]
The sentence is easier to understand with added punctuation and emphasis:
James, while John had had "had", had had "had had"; "had had" had had a better effect on the teacher.[6]
In each of the five pairs of "had" in the above sentence, the first "had" in the pair is in the past perfect form. The italicized instances denote emphasis of intonation, focusing on the differences in the students' answers, then finally identifying the correct one.
Alternatively, the sentence can also be read as John's answer being better than James', simply by placing the same punctuation in a different arrangement through the sentence:
James, while John had had "had had", had had "had"; "had had" had had a better effect on the teacher.
The sentence can be given as a grammatical puzzle[7][8][9] or an item on a test,[1][2] for which one must find the proper punctuation to give it meaning. Hans Reichenbach used a similar sentence ("John where Jack had...") in his 1947 book Elements of Symbolic Logic as an exercise for the reader, to illustrate the different levels of language, namely object language and metalanguage. The intention was for the reader to add the needed punctuation for the sentence to make grammatical sense.[10]
In research showing how people make sense of information in their environment, this sentence was used to demonstrate how seemingly arbitrary decisions can drastically change the meaning, analogous to how changes in the punctuation and quotes in the sentence show that the teacher alternately prefers James's work and John's work (e.g., compare: 'James, while John had had "had", had...' vs. 'James, while John had had "had had", ...').[11]
The sentence is also used to show the semantic vagueness of the word had, as well as to demonstrate the difference between using a word and mentioning a word.[12]
It has also been used as an example of the complexities of language, its interpretation, and its effects on a person's perceptions.[13]
For the syntactic structure to be clear to a reader, this sentence requires, at a minimum, that the two phrases be separated by using a semicolon, period, en-dash or em-dash. Still, Jasper Fforde's novel The Well of Lost Plots employs a variation of the phrase to illustrate the confusion that may arise even from well-punctuated writing:[14]
"Okay," said the Bellman, whose head was in danger of falling apart like a chocolate orange, "let me get this straight: David Copperfield, unlike Pilgrim's Progress, which had had 'had', had had 'had had'. Had 'had had' had TGC's approval?"
You may remember an old classroom test in English language. What punctuation marks do you have to add to this sentence so as to make sense of it?
The object of this and similar tests is to make sense of a series of words by figuring out the correct intonation pattern.
Writing is secondary to speech, in history and in the fact that speech and not writing is fundamental to the human species.
In scanning across lines, readers also make use of the information parts carried along with the punctuation markes [sic]: a period, a dash, a colon, a semicolon or a comma may signal different degrees of integration/separation between the groupings.
HAD up to here? So were readers of last week's column, invited to punctuate "Smith where Jones had had had had had had had had had had had the examiners approval."
Finally, verbal humour is often an ingredient of puzzles. As part of an advertising campaign for its educational website <learn.co.uk>, the Guardian (for 3 January 2001) included the following familiar grammatical puzzle.
Once a person has generated/bracketed part of the stream, then the activities of punctuation and connection (parsing) can occur to transform the raw data into information.
Suppose I decide that I wish to make up a sentence containing eleven occurrences of the word 'had' in a row ...
Do readers make use of the ways in which sentences are structured?