Datasets:

Modalities:
Text
Formats:
csv
ArXiv:
Libraries:
Datasets
pandas
License:
File size: 3,459 Bytes
f3c9878
8aa37b0
 
 
 
 
7cb7b6e
1bcb676
 
f3c9878
8aa37b0
 
 
 
 
5c159ce
7cb7b6e
1bcb676
8aa37b0
a4bd319
 
 
 
 
8aa37b0
 
 
 
 
 
 
 
7cb7b6e
1bcb676
8aa37b0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7cb7b6e
 
 
1bcb676
 
8aa37b0
 
 
 
 
 
 
 
 
 
 
1bcb676
8aa37b0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
78
79
80
81
82
83
84
85
86
87
88
---
license: cc-by-4.0
language:
- bal
- glk
- brh
- kas
- sdh
pretty_name: Perso-Arabic Corpra
---

# Perso-Arabic Corpra

- Balochi (bal)
- Gilaki (glk)
- Brahui (brh)
- Kashmiri (kas)
- Southern Kurdish (sdh)

# Usage
```
dataset = load_dataset('kargaranamir/perso-arabic')
print(dataset['train'][0]) # First row
```

## Download
If you are not a fan of HF dataloader, download each dataset directly:

```
! wget https://huggingface.co/datasets/kargaranamir/perso-arabic/resolve/main/balochi.csv
! wget https://huggingface.co/datasets/kargaranamir/perso-arabic/resolve/main/gilaki.csv
! wget https://huggingface.co/datasets/kargaranamir/perso-arabic/resolve/main/brahui.csv
! wget https://huggingface.co/datasets/kargaranamir/perso-arabic/resolve/main/kashmiri.csv
! wget https://huggingface.co/datasets/kargaranamir/perso-arabic/resolve/main/southern-kurdish.csv
```



## Sources

- Balochi (bal)
  - News: https://sunnionline.us/balochi/
  - Stories: https://kissah.org/
  - Deiverse Contents such as poems, stories, posts, etc: https://baask.com/archive/category/balochi/

- Gilaki (glk)
  - Social Media: The original source of this content is Twitter, but Twitter typically doesn't support Gilaki as part of its language identifier due to gilaki is a low resource language. We obtained this content from a Telegram channel (https://t.me/gilaki_twitter) that re-posts Gilaki Twitter content. The admins of the channel are native Gilaki speakers, and after manual inspection, these tweets are selected. At present, there isn't a readily available mapping for Twitter IDs. The primary reason for reposting Twitter content on Telegram in Iran is the relative ease of access to Telegram compared to Twitter.


- Brahui (brh)
  - News: https://talarbrahui.com/category/news/ and https://talarbrahui.com/category/articles/

- Kashmiri (kas)
  - Article: NllbSeed (https://github.com/facebookresearch/flores/blob/main/nllb_seed/README.md)

- Southern Kurdish (sdh)
  - News: https://shafaq.com/ku/

If you are a dataset owner and do not want your dataset to be included in this corpra, please send us an email at [email protected] .


## Code

Crawler code is available here under MIT license: https://github.com/kargaranamir/balochi-corpus-crawler/


## Ethical Considerations

**1. Biases:** The text corpus may reflect the perspectives, opinions, or demographics of its sources or creators. It is important for users to critically evaluate the text in context especially for **news sources** and **social medias** (e.g., sunnionline, twitter, talarbrahui, shafaq).

**2. Representativeness:** While we have aimed for diversity and inclusivity, the text corpus may not fully represent all native speakers. Users should be mindful of any potential underrepresentation.

**3. Ethical Considerations:** We acknowledge that the collection and use of text data can have ethical implications. We have strived to handle the data responsibly, but we encourage users to consider the broader ethical implications of their own research or applications.



## Citation
If you use any part of this code and data in your research, please cite it using the following BibTex entry.
```
@misc{persoarabic-corpus-crawler,
  author = {Kargaran, Amir Hossein},
  title = {Perso-Arabic Corpus Crawler and Corpora},
  year = {2023},
  publisher = {Github},
  journal = {Github Repository},
  howpublished = {\url{https://github.com/kargaranamir/persoarabic-corpus-crawler}},
}
```