|
--- |
|
license: apache-2.0 |
|
task_categories: |
|
- question-answering |
|
language: |
|
- en |
|
tags: |
|
- cricket |
|
size_categories: |
|
- 10K<n<100K |
|
--- |
|
|
|
# cricket-wiki |
|
```bash |
|
# data preparation steps |
|
|
|
pip install wikiextractor |
|
|
|
wget -c https://dumps.wikimedia.org/enwiki/latest/enwiki-latest-pages-articles-multistream.xml.bz2 |
|
|
|
# extract files using wikiextractor (take a few hours) |
|
python3 -m wikiextractor.WikiExtractor enwiki-latest-pages-articles-multistream.xml.bz2 --json |
|
|
|
# get cricket records in a separate file |
|
# take a few minutes |
|
grep -i cricket text/*/* > cricket.jsonl |
|
|
|
``` |