Garden-path sentence

A garden-path sentence is a grammatically correct sentence that starts in such a way that a reader's most likely interpretation will be incorrect; the reader is lured into a parse that turns out to be a dead end or yields a clearly unintended meaning. "Garden path" refers to the saying "to be led down [or up] the garden path", meaning to be deceived, tricked, or seduced. In "A Dictionary of Modern English Usage", Fowler describes such sentences as unwittingly laying a "false scent".
Such a sentence leads the reader toward a seemingly familiar meaning that is actually not the one intended. It is a special type of sentence that creates a momentarily ambiguous interpretation because it contains a word or phrase that can be interpreted in multiple ways, causing the reader to begin to believe that a phrase will mean one thing when in reality it means something else. When read, the sentence seems ungrammatical, makes almost no sense, and often requires rereading so that its meaning may be fully understood after careful parsing.
Examples.
"The old man the boat.".
This is a common example that has been the subject of psycholinguistic research and has been used to test the capabilities of artificial intelligence efforts. The difficulty in correctly parsing the sentence results from the fact that readers tend to interpret "old" as an adjective. Reading "the", they expect a noun or an adjective to follow, and when they then read "old" followed by "man" they assume that the phrase "the old man" is to be interpreted as "determiner" – "adjective" – "noun". When readers encounter another "the" following the supposed noun "man" (rather than the expected verb, as in e.g. "The old man washed the boat"), they are forced to re-analyse the sentence. As with other examples, one explanation for the initial misunderstanding by the reader is that a sequence of words or phrases tends to be analysed in terms of a frequent pattern: in this case: "determiner" – "adjective" – "noun". Rephrased, the sentence could be rewritten as "The old are the persons who man the boat."
"The complex houses married and single soldiers and their families.".
This is another commonly cited example. Like the previous sentence, the initial parse is to read "the complex houses" as a noun phrase, but "the complex houses married" does not make semantic sense (houses do not marry) and "the complex houses married and single" makes no sense at all (after "married and...", the expectation is another verb to form a compound predicate). The correct parsing is "The complex" [noun phrase] "houses" [verb] "married and single soldiers" [noun phrase] "and their families" [noun phrase]. Rephrased, the sentence could be rewritten as "The complex provides housing for the soldiers, married or single, as well as their families."
"The horse raced past the barn fell.".
This frequently used, classic example of a garden-path sentence is attributed to Thomas Bever. The sentence is hard to parse because "raced" can be interpreted as a finite verb or as a passive participle. The reader initially interprets "raced" as the main verb in the simple past, but when the reader encounters "fell", they are forced to re-analyse the sentence, concluding that "raced" is being used as a passive participle and "horse" is the direct object of the subordinate clause. The sentence could be replaced by "The horse that was raced past the barn fell", where "that was raced past the barn" tells the reader which horse is under discussion. Such examples of initial ambiguity resulting from a "reduced relative with [a] potentially intransitive verb" ("The horse raced in the barn fell.") can be contrasted with the lack of ambiguity for a non-reduced relative ("The horse "that was" raced in the barn fell.") or with a reduced relative with an unambiguously transitive verb ("The horse frightened in the barn fell."). As with other examples, one explanation for the initial misunderstanding by the reader is that a sequence of phrases tends to be analysed in terms of the frequent pattern: "agent" – "action" – "patient".
In other languages.
German.
This example turns on the two meanings in German of , which can be either the adjective "modern" as in English, or the verb "modern" meaning, "to become moldy", "to rot".
The theme of the "picture exhibition" in the first clause lends itself to interpreting "modern" as an adjective meaning "contemporary", until the last two words of the sentence: 
This causes dissonance at the end of the sentence, and forces back-tracking to recover the proper usage and sense (and different pronunciation) of the first word of the sentence, not as the adjective meaning "contemporary", but as the verb meaning "going moldy":
Portuguese.
 as adjective or verb, misreading of 
This example makes use of the ambiguity between the verb "suspeita" and the adjective "suspeita", which is also captured by the English word "suspect". It also makes use of a misreading in which the word is passed over by the parser, which lends to two different meanings.
Parsing.
When reading a sentence, readers will analyse the words and phrases they see and make inferences about the sentence’s grammatical structure and meaning in a process called parsing. Generally, readers will parse the sentence chunks at a time and will try to interpret the meaning of the sentence at each interval. As readers are given more information, they make an assumption of the contents and meaning of the whole sentence. With each new portion of the sentence encountered, they will try to make that part make sense with the sentence structures that they have already interpreted and their assumption about the rest of the sentence. The garden-path sentence effect occurs when the sentence has a phrase or word with an ambiguous meaning that the reader interprets in a certain way and, when they read the whole sentence, there is a difference in what has been read and what was expected. The reader must then read and evaluate the sentence again to understand its meaning. The sentence may be parsed and interpreted in different ways due to the influence of pragmatics, semantics, or other factors describing the extralinguistic context.
Parsing strategies.
Various strategies can be used when parsing a sentence, and there is much debate over which parsing strategy humans use. Differences in parsing strategies can be seen from the effects of a reader attempting to parse a part of a sentence that is ambiguous in its syntax or meaning. For this reason, garden-path sentences are often studied as a way to test which strategy humans use. Two debated parsing strategies that humans are thought to use are serial and parallel parsing.
Serial parsing is where the reader makes one interpretation of the ambiguity and continues to parse the sentence in the context of that interpretation. The reader will continue to use the initial interpretation as reference for future parsing until disambiguating information is given.
Parallel parsing is where the reader recognizes and generates multiple interpretations of the sentence and stores them until disambiguating information is given, at which point only the correct interpretation is maintained.
Reanalysis of a garden-path sentence.
When ambiguous nouns appear, they can function as both the object of the first item or the subject of the second item. In that case, the former use is preferred. It is also found that the reanalysis of a garden-path sentence gets more and more difficult with the length of the ambiguous phrase.
Recovery strategies.
A research paper published by Meseguer, Carreiras and Clifton (2002) stated that intensive eye movements are observed when people are recovering from a mild garden-path sentence. They proposed that people use two strategies, both of which are consistent with the selective reanalysis process described by Frazier and Rayner in 1982. According to them, the readers predominantly use two alternative strategies to recover from mild garden-path sentences. 
Partial re-analysis.
Partial re-analysis occurs when analysis is not complete. Frequently, when people can make even a little bit of sense of the later sentence, they stop analysing further so the former part of the sentence still remains in memory and does not get discarded from it.
Therefore, the original misinterpretation of the sentence remains even after the re-analysis is done; hence participants' final interpretations are often incorrect.
Difficulties in revision.
Recent research on garden-path sentences has utilized adult second language learners, or L2 learners, to study difficulties in revision of the initial parsing of garden-path sentences. During the processing of garden-path sentences, the reader has an initial parse of the sentence, but often has to revise their parse because it is incorrect. Unlike adult native speakers, children tend to have difficulty revising their first parsing of the sentence. This difficulty in revision is attributed to the underdeveloped executive functioning of children. Executive functioning skills are utilized when the initial parsing of a sentence needs to be discarded for a revised parsing, and underdeveloped or damaged executive functioning impairs this ability. As the child ages and their executive functioning completes development, they gain the ability to revise the initial incorrect parsing. However, difficulties in revision are not unique to children. Adult L2 learners also exhibit difficulty in revisions, but the difficulties cannot be attributed to underdeveloped executive functioning like in children.
In a 2015 study, adult L2 learners were compared to adult native speakers and native speaking children in revision and processing of garden-path sentences using act-out errors and eye movement. Adult native English speakers, English speaking children, and adult English L2 learners were shown garden-path sentences or disambiguated garden-path sentences that either had reference information or no reference information and then asked to act out the sentence. Adult L2 speakers had fewer act-out errors than native speaking children when the garden-path sentence was presented with referential information, similarly to the adult native speakers that present less act-out errors than both the adult L2 learners and native speaking children. Adult L2 speakers and native adult speakers were able to use discourse and referential information to aid in their processing of the garden-path sentences. This ability could be due to the adults’ developed executive functioning allowing them more cognitive resources, discourse and referential information, to aid in parsing and revision. Additionally, the use of discourse and referential information could be due to L1-transfer because Italian and English share the same sentence structure. However, when the garden-path sentences are disambiguated and then presented, the adult L2 speakers had the highest act-out error rate followed by native speaking children and then by adult native speakers. The results of this study indicate that difficulties in parsing revision are more common than originally thought and are not just confined to children or individuals with reduced executive functioning. Adults, both native speakers and L2 learners, use discourse and referential information in parsing and sentence processing. But adult L2 learners and native speaking children had similar error rates for garden-path sentences with no reference information, indicating systematic revision failure.