File size: 3,154 Bytes
8a089aa
bfc8ad1
 
 
 
 
 
 
8a089aa
 
 
 
 
 
 
 
 
 
 
 
bfc8ad1
8a089aa
bfc8ad1
 
8a089aa
 
 
 
 
 
969011b
 
7f3e418
969011b
 
deca776
969011b
 
 
 
 
 
 
 
 
 
 
 
 
deca776
969011b
 
 
 
 
 
 
deca776
969011b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
deca776
969011b
 
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
---
language:
- ar
size_categories:
- 1M<n<10M
task_categories:
- text-generation
pretty_name: Arabic Billion Words
dataset_info:
  features:
  - name: url
    dtype: string
  - name: head_line
    dtype: string
  - name: date
    dtype: string
  - name: text
    dtype: string
  splits:
  - name: train
    num_bytes: 17017097763
    num_examples: 5222964
  download_size: 8050780387
  dataset_size: 17017097763
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*
---


# Arabic Billion Words Dataset 🌕
The Abu El-Khair Arabic News Corpus (arabic-billion-words) is a comprehensive collection of Arabic text, encompassing over five million newspaper articles. The corpus is rich in linguistic diversity, containing more than a billion and a half words, with approximately three million unique words. The text is encoded in two formats: UTF-8 and Windows CP-1256, and marked up using two markup languages: SGML and XML.

## Data Example
An example from the "Almasryalyoum" configuration subset:

```python
{
  "url": "http://today.almasryalyoum.com/printerfriendly.aspx?ArticleID=61300",
  "head_line": "رئيس وزراء المجر: عنصرية جماهير أوجبيست جلبت العار للبلاد",
  "date": "19/5/2007",
  "text": """قال متحدث باسم الحكومة المجرية: إن رئيس الوزراء فيرنك جيوركساني رحب بقرار اتحاد كرة القدم المجري بخصم ثلاث نقاط من نادي أوجبيست بسبب السلوك العنصري الذي صدر من جماهيره.
  ...
  يذكر أن المجر بها مجموعة من مشجعي كرة القدم المشاغبين «الهوليجانز»، وشارك الكثير منهم في أعمال شغب معادية للحكومة في العام الماضي.""",
}
```

## Data Fields

The dataset comprises the following fields:
- "url": string, original URL of the article.
- "head_line": string, headline of the article.
- "date": string, date of the article.
- "text": string, textual content of the article.

## Data Splits

The dataset is divided into a single "training" split, with the following distribution of examples across different configuration subsets:

| Configuration Subset | Number of Examples |
|:---------------------|-------------------:|
| Alittihad            | 349,342            |
| Almasryalyoum        | 291,723            |
| Almustaqbal          | 446,873            |
| Alqabas              | 817,274            |
| Echoroukonline       | 139,732            |
| Ryiadh               | 858,188            |
| Sabanews             | 92,149             |
| SaudiYoum            | 888,068            |
| Techreen             | 314,597            |
| Youm7                | 1,172,136          |

## Dataset Usage

This dataset is valuable for natural language processing (NLP) tasks, including but not limited to sentiment analysis, topic modeling, and language modeling in the context of Arabic news articles. Researchers and practitioners in the field of NLP can benefit from the diverse linguistic content and the substantial size of the corpus.