Understanding how sentences are internally represented in the human brain, as
well as in large language models (LLMs) such as ChatGPT, is a major challenge
for cognitive science. Classic linguistic theories propose that the brain
represents a sentence by parsing it into hierarchically