[Paper Review] A Robust Parsing Algorithm For Link Grammars
This paper presents a robust parsing algorithm for link grammars that extends the original dynamic programming approach with null links to handle ungrammatical or malformed sentences. By minimizing the number of null links through three dynamic programming passes, the algorithm efficiently extracts syntactic structure from noisy, conversational English, achieving cubic time complexity and successfully parsing a large portion of the Switchboard corpus despite high levels of ungrammaticality.
In this paper we present a robust parsing algorithm based on the link grammar formalism for parsing natural languages. Our algorithm is a natural extension of the original dynamic programming recognition algorithm which recursively counts the number of linkages between two words in the input sentence. The modified algorithm uses the notion of a null link in order to allow a connection between any pair of adjacent words, regardless of their dictionary definitions. The algorithm proceeds by making three dynamic programming passes. In the first pass, the input is parsed using the original algorithm which enforces the constraints on links to ensure grammaticality. In the second pass, the total cost of each substring of words is computed, where cost is determined by the number of null links necessary to parse the substring. The final pass counts the total number of parses with minimal cost. All of the original pruning techniques have natural counterparts in the robust algorithm. When used together with memoization, these techniques enable the algorithm to run efficiently with cubic worst-case complexity. We have implemented these ideas and tested them by parsing the Switchboard corpus of conversational English. This corpus is comprised of approximately three million words of text, corresponding to more than 150 hours of transcribed speech collected from telephone conversations restricted to 70 different topics. Although only a small fraction of the sentences in this corpus are "grammatical" by standard criteria, the robust link grammar parser is able to extract relevant structure for a large portion of the sentences. We present the results of our experiments using this system, including the analyses of selected and random sentences from the corpus.
Motivation & Objective
- To develop an efficient, robust parsing algorithm for natural language processing that handles ungrammatical and noisy input without modifying the underlying grammar.
- To enable parsing of real-world conversational data—such as telephone transcripts—where only a small fraction of sentences are grammatically correct by standard criteria.
- To maintain the efficiency and pruning techniques of the original link grammar formalism while extending it to support partial and approximate parsing.
- To demonstrate the feasibility of purely syntactic robust parsing using minimal modifications to the original formalism and algorithm.
Proposed method
- Extends the original link grammar dynamic programming algorithm by introducing null links, which allow connections between any adjacent words regardless of dictionary definitions.
- Performs three dynamic programming passes: (1) standard parsing enforcing grammatical constraints, (2) computing minimal cost (number of null links) for all substrings, and (3) counting parses with minimal cost.
- Uses memoization and pruning techniques to maintain cubic time complexity O(n³) for input of n words.
- Employs a default disjunct set for unknown words, using context to infer part-of-speech and syntactic role.
- Assigns a non-negative cost to each parse, with zero cost for fully grammatical parses, and seeks minimal-cost parses as the primary output.
- Supports partial parsing by allowing null links to compensate for missing or incorrect words, enabling structural analysis even in ungrammatical input.
Experimental results
Research questions
- RQ1Can a purely syntactic parsing approach effectively extract meaningful structure from ungrammatical, noisy conversational text?
- RQ2How can the efficiency and pruning mechanisms of the original link grammar parser be preserved in a robust parsing extension?
- RQ3To what extent can null links and cost minimization enable accurate parsing of real-world spoken language with high error rates?
- RQ4Can a minimal modification to the grammar formalism—adding only null links—achieve robustness without requiring semantic or domain-specific knowledge?
Key findings
- The robust link grammar parser successfully extracted syntactic structure for a large portion of sentences in the Switchboard corpus, despite only a small fraction being grammatically correct by standard criteria.
- The algorithm achieved cubic time complexity O(n³) when combined with memoization and pruning, enabling efficient parsing of long utterances.
- In experiments, the parser produced valid parses for 10 randomly selected sentences from the corpus, including cases with unknown words and ungrammatical constructions, using minimal null links.
- The system correctly interpreted unknown words like 'toronto' and 'kmarkt' as adjectives based on context, demonstrating the effectiveness of the default disjunct mechanism.
- The parser failed to infer missing words (e.g., 'have' in 'would to be an emergency') and could not model false starts, indicating limitations in handling syntactic gaps.
- Despite limitations, the parser demonstrated practical utility by being deployed on the World Wide Web at http://www.cs.cmu.edu/afs/cs/project/link/www/robust.html for public experimentation.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.