Garden-Path Sentence Parser
Watch a psycholinguistic parser read classic garden-path sentences word by word, build a live parse tree, hit a mid-sentence reanalysis crash, and rebuild the correct structure — with simulated per-word reading times.
Garden-path sentences are grammatical but momentarily mislead the human sentence-processing system into building the wrong structure, forcing a costly reanalysis when a later word turns out incompatible with it. This simulator replays that process on five classic examples: it reveals each sentence word by word at a simulated reading pace, builds the parser's first-choice parse tree live, and measures a simulated per-word reading time that spikes exactly at the word that breaks the initial analysis — mirroring the slowdown measured in real self-paced reading experiments. Pick a sentence, press Play, and watch the tree collapse and rebuild itself into the correct structure.
Reveals classic garden-path sentences word by word, builds the incremental parser's first-choice parse tree live, and plots a simulated per-word reading time that spikes at the disambiguating word, then rebuilds the correct tree after the forced reanalysis.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install