|
--- |
|
language: |
|
- zh |
|
- yue |
|
--- |
|
|
|
### Dataset Summary |
|
Cantonese has been a low-resource language in NLP. This dataset is a major step towards changing that. |
|
|
|
To our knowledge, this is the **first large-scale, properly curated, and deduplicated web dataset built specifically for Cantonese**. It was created by filtering years of Common Crawl data and a Cantonese language detector, followed by a deduplication process using MinHash. |
|
|
|
The result is a high-quality collection of **~200K unique documents** containing **~150 million words**. (as of now with the 2020~2025 dumps) 🚀 |
|
|
|
### Dataset Curation Process |
|
* Downloaded and processed Common Crawl using [code](https://github.com/jedcheng/c4-dataset-script) |
|
* The resultant traditional Chinese dataset can be found [here](https://huggingface.co/datasets/jed351/Traditional-Chinese-Common-Crawl-Filtered) |
|
* Cantonese text filtered using [CantoneseDetect](https://github.com/CanCLID/cantonesedetect) and the resultant dataset can be found [here](https://huggingface.co/datasets/jed351/Cantonese_Common_Crawl_Filtered) |
|
* Using MinHash deduplication to yield the final web dataset (Wikipedia and LIHKG excluded) |
|
|
|
|