首页 > AI前沿 > Path Grammars: Separating Surface Order from Structure in Incremental Syntax

Path Grammars: Separating Surface Order from Structure in Incremental Syntax

arXiv自然语言 2026-12-04 02:33 13 阅读 查看原文

Human sentence processing is incremental, but phrase-structure grammars are usually given a semantics in which the order of rule applications plays no role. In this paper we introduce Path Grammars, a family of rewriting systems in which derivations follow a stack-controlled path traversing a phrase-structure tree from left to right. At each branching node, one child expands immediately while its right sister waits on a control stack, emitting words in surface order and maintaining a connected partial tree throughout. We prove that basic Path Grammars derive exactly the unlabelled derivation trees of context-free grammars. Extending the item structure with slashed categories (carrying filler terms) and LINK structures inspired by Dynamic Syntax enriches the assigned syntactic structures while preserving context-freeness and cubic-time recognition. Letting a slashed category carry a stack of pending fillers makes the formalism mildly context-sensitive: its languages are linear indexed languages, recognisable in polynomial time, and it generates cross-serial dependencies, as in Swiss German, with every argument placed in its canonical position. The crossing arises from the interaction between the filler stack and the control stack. The correspondence theorems, the incrementality results, the linear indexed upper bound and the cross-serial example are mechanised in the Rocq proof assistant.