Abstract
This paper details the development of two complete syntactic parsing pipelines—one based on Tree Adjoining Grammars (TAG) and the other on Lexical-Functional Grammars (LFG)—designed to handle the "noise" of real-world text. By integrating a massive morphological lexicon with a robust pre-processing chain that outputs word lattices (DAGs), the authors demonstrate how to move beyond "toy" sentences to parse thousands of diverse documents from the French EASy evaluation campaign.
Introduction: Parsing in the Wild
Most syntactic parsers are developed in controlled environments, performing exceptionally well on clean, grammatical sentences but failing when faced with the "wild" internet. Real-world data is inherently messy, containing typos, oral transcriptions with stutters, complex named entities like URLs and addresses, and ungrammatical structures common in informal emails.
The authors participated in the EASy campaign, a national evaluation in France requiring the parsing of approximately 35,000 sentences from diverse sources (journalistic, medical, literary, and noisy emails) within a tight one-week deadline. The goal was to build a system robust enough to provide a "best-guess" analysis even when the input was linguistically broken.
A Robust Processing Architecture
The researchers developed two distinct parsing "chains" sharing a common foundation: the Lefff (Lexique des Formes Fléchies du Français), a high-coverage morphological and syntactic lexicon for French containing over 400,000 inflected forms.
The Role of Word Lattices (DAGs)
A core innovation is the use of Directed Acyclic Graphs (DAGs) for input representation. Instead of a simple string of tokens, the pre-processor outputs a word lattice that preserves multiple interpretations of the input. This allows the system to delay ambiguity resolution until the syntactic parsing stage.
As shown in the figure above, the pre-processor handles spelling errors (e.g., "abite" to "habite"), identifies multi-word expressions ("en outre"), and recognizes complex named entities like physical addresses. This "delayed ambiguity" approach prevents the system from making incorrect "hard" decisions too early in the pipeline.
Parsing Engines: SXLFG and FRMG
Two different parsing architectures were evaluated:
- SXLFG: A two-pass LFG parser using a Context-Free Grammar (CFG) backbone. It includes error recovery modes to produce partial analyses if a full sentence parse fails.
- FRMG: A TAG parser generated from a compact "meta-grammar" of only 133 trees. It uses factorized representations to handle a vast array of linguistic variations efficiently.
Key Results and Evaluation
The system was tested on the EASy corpus and a 1.1 million-word journalistic reference corpus. The pre-processing chain proved highly efficient, processing approximately 1,400 tokens per second.
One of the most significant findings was the effectiveness of the pre-processing stage in identifying specific entities. The system achieved perfect precision and recall for URLs and physical addresses in journalistic text.
On the challenging EASy corpus, the SXLFG system achieved a coverage of 66.6% (with relaxed coherence checks) and 41.95% with full checks. The FRMG system achieved 42.45% coverage. While these numbers might seem low compared to "clean" data benchmarks, they represent a significant achievement for unconstrained, noisy real-world text.
Conclusion
The authors conclude that "pre-processing is half the battle." The quality of a syntactic parser is often secondary to the quality and flexibility of its input. By using DAGs and a robust lexicon, the systems can fail gracefully, returning partial structures or relaxed analyses rather than nothing at all. Future work aims to further integrate these two architectures, using cross-system error analysis to refine the shared lexicon and pre-processing rules.
Summary updated