Mining Parsing Results for Lexical Corrections

Lionel Nicolas, Jacques Farré, Éric Villemonte de la Clergerie, Eric De, Mining Parsing, Results Lexical Cor2009

TL;DR

This paper tackles the challenge of improving natural language processing (NLP) lexicons, which are crucial for accurate parsing but difficult to build and maintain. They introduce a method to automatically suggest corrections for lexical entries by re-parsing sentences that previously failed, using "jokers" to relax constraints and then analyzing the successful parses to infer grammar expectations.

What Problem Does This Paper Address?

Building comprehensive and accurate lexicons for natural language processing is a significant hurdle. A lexicon is essentially a dictionary that tells a parser what words exist, their grammatical categories (like noun, verb), and their properties (like tense, number). If a lexicon is incomplete or contains errors, parsers will struggle to understand sentences, leading to parsing failures. The authors' work builds upon previous methods that identify "suspicious" lexical entries by observing their frequency in sentences that a parser cannot handle. This paper goes a step further by proposing a way to automatically suggest corrections for these identified suspicious entries, aiming to improve both the lexicon and, by extension, the parser's performance.

Methods

The core of their approach involves a two-stage process:

  1. Joker Introduction: For sentences that previously failed to parse due to a suspicious word, they introduce "jokers." These jokers are special placeholders that can represent a word's syntactic category (e.g., noun, verb) but have minimal or relaxed feature constraints. This allows the parser to attempt parsing these sentences again, essentially by temporarily ignoring potential errors in the original word's lexical entry. They use different types of jokers:
  2. Category Jokers: For suspected category defects, where a word might be misclassified.
  3. Overspecification Jokers: For suspected feature defects, where a word's properties are too rigidly defined.
  4. Syntactic Signature Extraction and Analysis: When re-parsing with jokers leads to successful parses, the system extracts "syntactic signatures." A signature represents the grammatical context and dependencies surrounding the joker in a successful parse. By analyzing these signatures across many sentences and many different jokers, they can infer what grammatical structures and features the parser expects for the original suspicious word. Signatures that appear consistently across different sentences and in less ambiguous contexts are considered more reliable. They then order these signatures based on their statistical significance to propose the most likely corrections for the lexicon.

Datasets

  • Le Monde Diplomatique (MD) Corpus: This is the primary dataset used. It's a corpus of 570,000 sentences and 14.5 million words extracted from the French newspaper Le Monde Diplomatique. This corpus was used for the initial error mining and subsequent re-parsing experiments.
  • Lefff Lexicon: The lexicon being improved is the Lefff (Lexique Français) lexicon, a large, morphosyntactic lexicon for French, containing over 520,000 entries.

Key Insights and Ideas

  • "Jokers" as a Relaxation Tool: The concept of using underspecified "jokers" to bypass potential lexical errors and enable re-parsing is a clever way to diagnose issues without needing to know a priori whether the error is in the word's category or its features.
  • Syntactic Signatures as Grammar Expectations: The idea that successful parses with jokers reveal the grammar's "expectations" for a word is powerful. This transforms parsing failures into a source of positive grammatical knowledge.
  • Statistical Stability for Reliable Corrections: The method's reliance on the statistical stability of signatures across multiple sentences and contexts is key to distinguishing genuine grammatical patterns from noise introduced by ambiguity or incorrect joker usage.
  • Lexicon-Grammar Synchronization: The paper frames this work as a way to "synchronize" the lexicon and grammar, highlighting their interdependence. Errors in one often manifest as problems in the other.

Key Results

  • Increased Parsing Rate: The introduction of jokers significantly increased the parsing rate for previously unparsable sentences. While specific numbers for the correction phase are not detailed, the paper shows a strong correlation between the "suspicion rate" of a form and the improvement in parsing rates after joker introduction (Figure 3).
  • Validation of Error Mining: The experiments confirmed the effectiveness of the initial error mining technique, showing that forms identified as suspicious were indeed problematic.
  • Identification of Lexical and Grammatical Shortcomings: The technique not only suggested lexical corrections but also provided feedback on potential shortcomings in the grammar itself. For example, they found correct signatures for "prospères" (prosperous) that indicated its use as an attributive adjective, which was missing in the Lefff lexicon, and identified a missing reflexive aspect for the verb "révéler" (to reveal).

Limitations and Future Work

  • Ambiguity from Jokers: While jokers help enable parsing, they can also introduce significant ambiguity, potentially leading to timeouts or memory shortages, which are treated as failures.
  • Distinguishing Relevant Signatures: It's challenging to differentiate truly relevant signatures from those that arise from ambiguity introduced by the joker. The statistical approach helps, but it's not perfect.
  • Grammar Quality Dependency: The quality of the suggested corrections is directly dependent on the quality of the grammar. If the grammar is flawed, the extracted signatures will also be flawed.
  • Future Work:
    • Probabilistic Scoring: Incorporating the probability of grammar rules being used to better score signatures.
  • Signature Cleaning: Developing methods to clean signatures and avoid irrelevant adjuncts.
  • Grouping Signatures: Grouping signatures that represent common syntactic phenomena to better capture underlying patterns.
  • Morphological Information: Integrating morphological information into signatures, as the current approach primarily focuses on syntactic features.

Summary updated

Abstract

HAL is a multi-disciplinary open access archive for the deposit and dissemination of sci-entific research documents, whether they are pub-lished or not. The documents may come from teaching and research institutions in France or abroad, or from public or private research centers. L’archive ouverte pluridisciplinaire HAL, est destinée au dépôt et a ̀ la diffusion de documents scientifiques de niveau recherche, publiés ou non, émanant des établissements d’enseignement et de recherche français ou étrangers, des laboratoires publics ou privés.
BibTeX
@misc{nicolas2009mining,
  author = {Lionel Nicolas and Jacques Farré and Éric Villemonte de la Clergerie and Lionel Nicolas and Eric De and La Clergerie and Mining Parsing and Results Lexical Cor and Lionel Nicolas and Eric De La Clergerie},
  title = {{Mining Parsing Results for Lexical Corrections}},
  year = {2009},
}

Loading related content...

Figure