Extracting Hypernym Pairs from the Web

Erik F. Tjong Kim SangACL 2007

Abstract

Lexical databases like WordNet are vital for natural language processing but are difficult to maintain manually, particularly for languages with fewer resources like Dutch. This paper explores whether the massive scale of the web can compensate for simple extraction techniques. We compare pattern-based extraction from a 300M-word corpus against web-scale queries and language-specific morphological analysis. Our findings indicate that web-based data density allows simple conjunctive patterns to significantly outperform corpus-based methods, and that combining these with morphological rules yields the best performance for Dutch WordNet expansion.

Introduction

Building and maintaining taxonomies is a major bottleneck in NLP. While the English WordNet is robust, the Dutch EuroWordNet (DWN) is significantly smaller and lacks many common terms and proper names. Traditional automated approaches rely on "Hearst patterns" (e.g., "furniture such as tables") within large text corpora. However, even a 300-million-word corpus often lacks the necessary frequency of these specific patterns for rare words. This study investigates the hypothesis that "bigger is better": that the sheer volume of the web can make simple, pattern-based methods more effective than complex models trained on limited data.

Methodology

The proposed system identifies hypernym-hyponym pairs (e.g., fruit as a hypernym of apple) using three primary strategies:

  1. Pattern-Based Web Search: The system queries search engines for specific Dutch lexical patterns. These include direct hypernymy patterns ("H zoals A, B") and conjunctive "sibling" patterns ("A en B").
  2. Morphological Analysis: In Dutch, many nouns are compounds where the head (the hypernym) is the suffix (e.g., vuilniswagen or "garbage truck" is a type of wagen). This provides a strong linguistic prior for relationship extraction.
  3. Scoring and Optimization: A scoring function combines evidence from direct patterns and sibling relations. To maximize discovery, the system queries for "such as [hyponym]" rather than the category, as hyponyms are more likely to appear in diverse contexts.

Results and Discussion

The evaluation used the existing Dutch EuroWordNet as ground truth. We compared extraction from a static 300M-word corpus against web-based extraction and the morphological baseline.

Corpus-Based vs. Morphological Baseline

Initial experiments on the static corpus showed extremely low recall. As seen in Figure 1, the specific Hearst patterns (N zoals N) and even combined corpus patterns struggled to find sufficient evidence, with recall values below 0.02. In contrast, the morphological approach proved to be a very strong baseline for Dutch, achieving a precision of 0.54 and a recall of 0.33.

Figure 1: Performance metrics for corpus-based methods and the morphological baseline.

The Web Advantage

Moving the search to the web dramatically improved performance. The "N and N" pattern on the web achieved a recall of 0.31, nearly matching the morphological approach and vastly exceeding the static corpus results. This confirms that data density is a critical factor for pattern-based extraction.

The highest overall performance was achieved by combining web-based conjunctive evidence with morphological candidates. This "web: en + morphology" approach reached a recall of 0.45 and a precision of 0.48, as detailed in Figure 2.

Figure 2: Performance metrics for web-based methods and the integrated approach.

Conclusion

This research demonstrates that for tasks like hypernym extraction, the quantity of data can be more important than the sophistication of the algorithm. The abundance of the web allows simple patterns to provide a dense network of evidence that static corpora cannot match. For languages like Dutch, integrating these web-scale insights with language-specific morphological rules provides a powerful, automated path for expanding lexical databases.

Summary updated

BibTeX
@inproceedings{sang2007extracting,
  author = {Erik F. Tjong Kim Sang},
  title = {{Extracting Hypernym Pairs from the Web}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2007},
}
Figure