[Paper Review] Building a Web-Scale Dependency-Parsed Corpus from CommonCrawl
This paper presents DepCC, the largest publicly available dependency-parsed and named entity-tagged English corpus to date, constructed from 365 million documents in the Common Crawl web archive. Using a scalable MapReduce pipeline, the authors clean, deduplicate, and linguistically annotate the data, enabling high-performance NLP models; a distributional verb similarity model trained on DepCC outperforms prior state-of-the-art models on the SimVerb3500 benchmark, demonstrating the value of web-scale linguistic resources.
We present DepCC, the largest-to-date linguistically analyzed corpus in English including 365 million documents, composed of 252 billion tokens and 7.5 billion of named entity occurrences in 14.3 billion sentences from a web-scale crawl of the extsc{Common Crawl} project. The sentences are processed with a dependency parser and with a named entity tagger and contain provenance information, enabling various applications ranging from training syntax-based word embeddings to open information extraction and question answering. We built an index of all sentences and their linguistic meta-data enabling quick search across the corpus. We demonstrate the utility of this corpus on the verb similarity task by showing that a distributional model trained on our corpus yields better results than models trained on smaller corpora, like Wikipedia. This distributional model outperforms the state of art models of verb similarity trained on smaller corpora on the SimVerb3500 dataset.
Motivation & Objective
- To address the limitations of existing large corpora, such as limited size, lack of linguistic annotation, and poor accessibility, especially for web-scale data.
- To develop a scalable, automated pipeline for transforming raw Common Crawl WET dumps into a linguistically enriched, deduplicated, and searchable corpus.
- To create a web-scale, dependency-parsed, and named entity-tagged corpus that supports advanced NLP tasks without requiring extensive preprocessing.
- To demonstrate the utility of the corpus by showing improved performance on verb similarity benchmarks compared to models trained on smaller corpora.
- To release the corpus and associated tools (index, API, web interface) to enable broad access and reuse in NLP research.
Proposed method
- The corpus is built from Common Crawl WET archives, which contain plaintext extracted from raw web pages.
- A MapReduce-based pipeline performs document deduplication using MinHash and shingling to remove near-duplicates.
- The pipeline applies a multilingual part-of-speech tagger, a dependency parser (Stanford CoreNLP), and a named entity recognizer (Stanford NER) to each document.
- Linguistic metadata (POS, dependency relations, NER) is stored with each sentence, along with provenance information (source URL, offset) for traceability.
- An inverted index is built over sentences and linguistic features, enabling fast search via a web interface or REST API.
- All preprocessing and annotation steps are applied uniformly across the corpus to ensure consistency and scalability.
Experimental results
Research questions
- RQ1Can a large-scale, linguistically annotated corpus derived from the open web outperform smaller, curated corpora like Wikipedia in training distributional models?
- RQ2To what extent does corpus size and linguistic richness (dependency parsing, NER) improve performance on verb similarity tasks?
- RQ3Can a scalable, automated pipeline effectively clean, deduplicate, and annotate web-scale data for NLP research?
- RQ4Does a distributional model trained on a web-scale, dependency-parsed corpus achieve state-of-the-art performance on SimVerb3500?
- RQ5Can such a corpus serve as a practical, ready-to-use resource for training syntax-aware word embeddings and other NLP models?
Key findings
- The DepCC corpus contains 365 million documents, 252 billion tokens, 14.3 billion sentences, and 7.5 billion named entity occurrences, making it the largest publicly available dependency-parsed English corpus.
- A distributional verb similarity model trained on DepCC achieves a Spearman correlation of 0.782 on the SimVerb3500 dataset, surpassing the prior state of the art.
- The model trained on DepCC outperforms models trained on Wikipedia and other smaller corpora, even with identical hyperparameters, demonstrating the impact of corpus size and linguistic depth.
- The performance gain is attributed to the combination of scale and syntactic features, as the model leverages dependency parses to capture structural patterns in verb usage.
- The corpus enables efficient search via a web interface and REST API, with provenance tracking allowing reproducibility and data provenance tracing.
- The methodology is scalable and reusable, with the potential to extend to other languages using the same pipeline.
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.