Skip to content

paracrawl/DataCollection

 
 

Repository files navigation

DataCollection

Collecting data for machine translation training from CommonCrawl is a two-phase process illustrated in the following diagram:

CommonCrawl process diagram

Phase 1: Language annotation, building a meta-data database and monolingual data extraction

The first phase detects the languages of the web pages contained in the crawl and other meta-data. A database is built from this data that can be accessed via a RESTful web API.

The metadata documentation describes phase 1 step-by-step.

In this phase monolingual data for language model training can be extracted. The data for some of the CommonCrawl crawls and some languages can be found on:

For more details on the monolingual data see ModernMT Deliverable 2.1.

Phase 2: Extracting parallel data and optional cleaning

In the second phase the meta-data collected in phase 1 is used to extract parallel data from CommonCrawl data based on URL pattern matching. Phase 2 is documented step-by-step in the baseline documentation

For the language pairs en↔it, en↔fr and en↔it matched URL data is available for quick data extraction in release 0.1.0

About

Data collection, alignment and TAUS repository

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 88.8%
  • Shell 5.5%
  • C++ 4.9%
  • Other 0.8%