File size: 562 Bytes
238bac8
 
65caab1
 
 
 
 
 
 
 
c94a739
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
---
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

```