arXiv:2609.06070cs.CLSep 2026

Manuscript Offprint

arXiv:2609.06070

DPH Parser: A Bottom-Up Grammar-Driven Parser for Joint Constituency and Dependency Analysis

Hussein Ghaly

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

This paper presents Dependency-Phrase Hierarchy Parser (DPH Parser), a grammar-driven bottom-up unsupervised parsing framework inspired by Generalized Phrase Structure Grammar (GPSG) and Head-driven Phrase Structure Grammar (HPSG). The parser incrementally constructs constituency structures using a compact inventory of feature-based syntactic rules while deriving dependency relations through explicit head annotations. The system combines probabilistic POS tagging, recursive phrase projection, and weighted parse hypotheses to process realistic and partially noisy text input. Unlike purely neural and data-driven parsers, the resulting syntactic derivations remain explicitly interpretable.

We evaluated parser performance on English corpora from the Universal Dependencies (UD) project using Unlabeled Attachment Score (UAS) as the main parsing metric, comparing the outcomes against Stanza and spaCy parsers. For a small inventory of syntactic rules, DPH parser achieved UAS values of 53.32% & 52.58% (UD Devset/Testset respectively). For the same data, Stanza achieved 89.12% & 88.67% while spaCy achieved 56.91% and 58.59%. Although the current system does not yet approach the accuracy of modern neural parsers, the results demonstrate the feasibility of applying transparent rule-based bottom-up parsing to realistic treebank data while jointly producing constituency and dependency structures.

1 Introduction

Natural language parsing remains a fundamental problem in computational linguistics despite the recent success of large neural language models (LLMs). Modern transformer-based systems often achieve strong downstream performance without explicit syntactic representations, and contemporary dependency parsers routinely achieve high

attachment accuracy on benchmark corpora. Nevertheless, these systems typically encode syntactic structure implicitly within distributed representations, making their structural decisions difficult to interpret, constrain, or modify explicitly. This is particularly important for sentences with ambiguity, with multiple possible underlying structures. For example, in a prompt such as: "generate a picture of men and women wearing hats", do both men and women wear hats, or only women? Therefore, even for more advanced LLM and neural-based NLP applications, it is still important to recognize ambiguity, while maintaining proper syntactic derivation of the underlying structure.

The goal of the current work is not to replace modern neural parsers, but rather to investigate whether a compact inventory of linguistically motivated syntactic rules can support a practical parsing framework that incrementally constructs interpretable phrase structures while simultaneously preserving dependency information.

The proposed grammar formalism is primarily inspired by Generalized Phrase Structure Grammar (GPSG) (Gazdar, 1985) and Head-driven Phrase Structure Grammar (HPSG) (Pollard and Sag, 1994). In contrast to transformational approaches of generative syntax (starting with Chomsky 1957), these frameworks attempt to represent long-distance dependencies and syntactic constraints through feature propagation mechanisms rather than explicit movement operations. In particular, GPSG introduced slash features for representing constituents with missing arguments (e.g. the object of the verb "eat" in "What did you eat X?"), while HPSG emphasized typed feature structures and explicit head propagation. These ideas provide useful mechanisms for constructing phrase structures while simultaneously preserving dependency relations between words.

This formalism addresses a common issue for modern parsing systems, which often distinguish

Figure

Figure 1: Dependency and Constituency Structures

between constituency parsing (producing hierarchical phrase structure), and dependency parsing (producing binary head-dependent relations between words). Both representations are interrelated, and each can be converted into the other, but each has a certain focus and provides certain information about the structure (Xia and Palmer, 2001). While dependency parsing dominates many contemporary NLP pipelines because of its efficiency and compatibility with downstream applications (Nivre, 2006), constituency structures continue to provide useful information regarding hierarchical organization, scope, and prosodic grouping (Jurafsky and Martin, 2026).

The current work adopts a constituency-oriented parsing strategy while explicitly annotating head information within grammar rules, allowing dependency relations to be derived directly from phrase structures. This design allows both representations to be preserved within a single parsing process. The main contributions of this work include an inventory of rules and lexical categories and features as well as a bottom-up parsing algorithm based on this inventory, in addition to a hybrid dependency-constituency format that the parser produces, showing full derivation for each parse, and different parse hypotheses.