Using Unknown Word Techniques to Learn Known Words

Kostadin Cholakov, Gertjan van NoordEMNLP 2010

Abstract

Hand-crafted grammars often fail not because a word is missing from their dictionary, but because the entry they have is incomplete or incorrect. This paper presents an automated two-phase pipeline that uses "error mining" to find these problematic known words and "lexical acquisition" to re-learn them, significantly boosting the parsing coverage and accuracy of the Dutch Alpino grammar.

Introduction

In Natural Language Processing (NLP), hand-crafted computational grammars offer high precision but are notoriously brittle. When a parser fails to process a sentence, the typical suspect is an unknown word. However, a more insidious problem exists: problematic known words. These are entries already in the grammar's lexicon that are incorrect or missing a specific sense. For example, the Dutch word afwater might be listed only as a verb ("to drain"), but in a specific context, it might be used as a noun ("the drainage"). Detecting these "known unknowns" is difficult because the parser assumes it understands the word, leading to silent failures or incorrect analyses.

Methodology

The authors propose a two-phase automated strategy to bridge this gap:

  1. Error Mining: Using an iterative algorithm, the researchers parse a massive corpus to identify unigrams or n-grams that appear significantly more often in failed parses than in successful ones. Each word is assigned a "suspicion score." If a word has a high score and already exists in the lexicon, it is flagged as a problematic known word.
  2. Automated Lexical Acquisition (LA): Once flagged, the system effectively "forgets" what it knows about the word and treats it as a brand-new, unknown word. A Maximum Entropy (ME) classifier predicts the correct lexical category using:
  3. Morphological Features: Analyzing prefixes and suffixes to infer part-of-speech.
  4. Syntactic Features: Parsing the word in various contexts while allowing "maximal ambiguity" to see which category the statistical model prefers most often.
  5. Web Validation: Using finite-state morphology to generate possible word forms (paradigms) and checking web search hit counts to verify if those forms exist in actual usage.

Experimental Setup

The study utilized the Flemish Mediargus Corpus, a collection of 1.5 billion words, to capture lexical differences between Standard Dutch and Flemish. The baseline was the Alpino Lexicon, containing over 100,000 entries. Additional context for the LA phase was gathered from web-extracted sentences.

Results and Discussion

The researchers identified 36 highly suspicious words causing systematic failures in 388 test sentences. Applying the LA method yielded significant improvements in both accuracy and coverage.

Comparison of parsing accuracy and processing time across different models.

As shown in the performance comparison, the proposed model achieved an accuracy of 86.15% in dependency relations, significantly outperforming the baseline Alpino grammar. Notably, this accuracy gain did not come at a computational cost; the LA-enhanced model was more efficient than the baseline, processing sentences in 718 msec compared to 803 msec.

Parsing coverage achieved by the proposed Lexical Acquisition (LA) method compared to universal types.

Furthermore, the grammar's coverage on problematic sentences jumped from 0% to 83.76%. While the "Universal types" approach (treating words as maximally ambiguous) provided slightly higher coverage at 87.89%, it suffered from lower accuracy due to "parse overgeneration." In such cases, the parser considers too many possibilities and often selects incorrect dependency relations. The authors' LA method is superior because it provides a restricted, high-probability set of new entries, keeping the parser focused and accurate.

Conclusion

This research demonstrates that the best way to fix broken dictionary entries is to ignore them and re-learn them using modern unknown-word techniques. This method effectively adapts general grammars to regional dialects like Flemish. Future work will aim to expand the pipeline to multi-word expressions and incorporate more sophisticated success metrics for error mining.

Summary updated

BibTeX
@inproceedings{cholakov2010using,
  author = {Kostadin Cholakov and Gertjan van Noord},
  title = {{Using Unknown Word Techniques to Learn Known Words}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2010},
}
Figure