cs.CLAug 24, 2026

How Useful are LLMs for Grammar Engineering? Cantonese ParGram Resources and Controlled Experimental Evaluation with English Baselines

Authors: Chit-Fung Lam

Organizations: University of Oxford · University of Manchester

Abstract

This paper presents new Cantonese ParGram resources and evaluates LLMs for knowledge-driven grammar engineering within a controlled experimental paradigm. Using Cantonese ParGram resources as gold standards, with corresponding English baselines, we investigate whether OpenAI's gpt-oss-120b and GPT-5.4 can generate machine-processable grammars from sentences and target formal structures under systematically varied prompting conditions. GPT-5.4 outperformed gpt-oss-120b, while grammars generated from target formal structures generally outperformed those generated from sentences. Although both models could generate locally plausible phrase-structure rules, lexical entries, and templates, they often struggled to coordinate interacting formal constraints, especially in multi-construction settings. The results characterize both the capabilities and limitations of current LLMs for potential integration into AI-assisted expert workflows: LLMs may support intermediate stages of grammar development, but human linguistic expertise remains central to analysis, validation, and refinement. The study also contributes new Cantonese symbolic grammatical resources.

Explore similar work

CardsList
  1. Grammar Engineering Meets LLMs: Development of Cantonese and Irish ParGram Treebanks

    Aug 7, 2026Chit-Fung Lam, Elaine Uí DhonnchadhaMultilingual Language Model EvaluationStructured Output Generation

  2. Multi-Dimensional Evaluation of LLMs for Grammatical Error Correction

    May 8, 2026Adnan Labib, Qiao Wang, Yixuan Huang +1LLM EvaluationGrammatical Error Correction