File size: 2,007 Bytes
e68b934
 
fa552c4
 
 
 
e68b934
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
fa552c4
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
---
license: mit
language:
- he
size_categories:
- 10K<n<100K
---
# About Dataset

The following dataset is a collection of `JSON` sets that contain most of the Hebrew Wikipedia.

## About Data collection methodology

The strategy behind the methodology for collecting the data is as follows:

- **Crawl Hebrew Wikipedia:** Begin by crawling through Hebrew Wikipedia to collect all redirect links on each page.
- **Breadth-First Search (BFS):** For each page, apply a BFS-like strategy to ensure that every link is scraped.
- **Link Collection:** Collect the links as tuples in a link file, where each tuple contains a page name and its corresponding link (<page_name>, <page_link>).
- **Data Scraping and Cleaning:** After crawling and link collection, iterate over the links and scrape all paragraphs. Apply cleaning methodologies to ensure data cleanliness. Additionally, collect the page summary for each page, if available.


### Description of the data

The dataset file is a JSONL file structured as follows:

#### JSONL File Structure

```jsonl
  {
    id: <id_num>,
    page: <page_name>,
    url: <page_url>,
    summary: <page_summary>,
    paragraphs: [<paragraph1>, <paragraph2>,...]
  }
```

| Parameter | Type     | Description                |
| :-------- | :------- | :------------------------- |
| `id` | `string` | Unique identifier for the JSON element. |
| `page` | `string` | Name of the Wikipedia page. |
| `url` | `string` | URL of the associated Wikipedia page. |
| `summary` | `string` | Uncleaned page summary, which may contain `LaTeX` for mathematical formulas or other languages besides Hebrew or English. If no summary is available, the value is `None`. |
| `paragraphs` | `string` | List of strings containing cleaned paragraphs from the page. All paragraphs only contain Hebrew and English characters. |



## Authors

- [@Fren Yan](https://github.com/YanFrenklakh)

- [@Swisa Doron](https://github.com/fkzx8000)


## License

[MIT](https://choosealicense.com/licenses/mit/)