Datasets:

Modalities:
Text
Formats:
csv
ArXiv:
Libraries:
Datasets
pandas
License:
kargaranamir commited on
Commit
833e373
1 Parent(s): 3b8d13c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +33 -31
README.md CHANGED
@@ -17,34 +17,34 @@ pretty_name: GlotSparse Corpus
17
 
18
  # GlotSparse Corpus
19
 
20
- - Balochi (bal)
21
- - Gilaki (glk)
22
- - Brahui (brh)
23
- - Southern Kurdish (sdh), MacroLanguage: Kurdish (kur)
24
- - Gurani (hac)
25
- - Kirmanjki (kiu), MacroLanguage: Zaza (zza)
26
- - Fanti (fat), MacroLanguage: Akan (aka)
27
- - Twi (twi), MacroLanguage: Akan (aka)
28
-
29
- ## Usage
30
  ```
31
- dataset = load_dataset('kargaranamir/GlotSparse')
32
- print(dataset['train'][0]) # First row
 
 
 
 
 
 
 
33
  ```
34
 
35
- ## Download
36
- If you are not a fan of HF dataloader or just interested in a specific language, download it directly:
37
-
 
 
 
38
  ```
39
- ! wget https://huggingface.co/datasets/kargaranamir/GlotSparse/resolve/main/balochi.csv
40
- ! wget https://huggingface.co/datasets/kargaranamir/GlotSparse/resolve/main/gilaki.csv
41
- ! wget https://huggingface.co/datasets/kargaranamir/GlotSparse/resolve/main/brahui.csv
42
- ! wget https://huggingface.co/datasets/kargaranamir/GlotSparse/resolve/main/southern-kurdish.csv
43
- ! wget https://huggingface.co/datasets/kargaranamir/GlotSparse/resolve/main/gurani.csv
44
- ! wget https://huggingface.co/datasets/kargaranamir/GlotSparse/resolve/main/kirmanjki.csv
45
- ! wget https://huggingface.co/datasets/kargaranamir/GlotSparse/resolve/main/fanti.csv
46
- ! wget https://huggingface.co/datasets/kargaranamir/GlotSparse/resolve/main/twi.csv
47
 
 
 
 
 
 
 
48
  ```
49
 
50
 
@@ -58,11 +58,10 @@ If you are not a fan of HF dataloader or just interested in a specific language,
58
  - **Gilaki (glk)**
59
  - 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.
60
 
61
-
62
  - **Brahui (brh)**
63
  - News: https://talarbrahui.com/category/news/ and https://talarbrahui.com/category/articles/
64
 
65
- - **Southern Kurdish (sdh)**
66
  - News: https://shafaq.com/ku/ (Feyli)
67
 
68
  - **Gurani (hac)**
@@ -71,20 +70,23 @@ If you are not a fan of HF dataloader or just interested in a specific language,
71
  - **Kirmanjki (kiu)**
72
  - News: https://anfkirmancki.com/
73
 
74
-
75
  - **Fanti (fat)**
76
  - News: https://akannews.com/fante/
77
 
78
  - **Twi (twi)**
79
  - News: https://akannews.com/asante-twi/
80
 
81
- **Notice**: If you are a website/dataset owner and do not want your dataset to be included in this corpra, please send us an email at [email protected] .
82
-
 
 
 
83
 
84
- ## Code
85
 
86
- Crawler code is available here under MIT license: https://github.com/kargaranamir/GlotSparse.
87
- Script checking and cleaning is done using [GlotScript](https://arxiv.org/abs/2309.13320).
 
 
88
 
89
 
90
  ## Ethical Considerations
 
17
 
18
  # GlotSparse Corpus
19
 
20
+ These languages are supported:
21
+
 
 
 
 
 
 
 
 
22
  ```
23
+ ('azb_Arab', 'South-Azerbaijani_Arab')
24
+ ('bal_Arab', 'Balochi_Arab')
25
+ ('fat_Latn', 'Fanti_Latn') # aka
26
+ ('glk_Arab', 'Gilaki')
27
+ ('hac_Arab', 'Gurani-Arab')
28
+ ('kiu-Latn', 'Kirmanjki-Latn') # zza
29
+ ('sdh_Arab', 'Southern-Kurdish_Arab')
30
+ ('twi_Latn', 'Twi_Latn') # aka
31
+ ('uzs_Arab', 'Southern-Uzbek_Arab')
32
  ```
33
 
34
+ ## Usage (HF Loader)
35
+ Replace `twi_Latn` with your specific language.
36
+ ```python
37
+ from datasets import load_dataset
38
+ dataset = load_dataset('kargaranamir/GlotSparse', 'twi_Latn')
39
+ print(dataset['train'][0]) # First row of Twi_Latn
40
  ```
 
 
 
 
 
 
 
 
41
 
42
+ ## Download
43
+ If you are not a fan of the HF dataloader or are just interested in a specific language, download it directly:
44
+ Replace `twi_Latn` with your specific language.
45
+
46
+ ```python
47
+ ! wget https://huggingface.co/datasets/kargaranamir/GlotSparse/resolve/main/twi_Latn/twi_Latn.csv
48
  ```
49
 
50
 
 
58
  - **Gilaki (glk)**
59
  - 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.
60
 
 
61
  - **Brahui (brh)**
62
  - News: https://talarbrahui.com/category/news/ and https://talarbrahui.com/category/articles/
63
 
64
+ - **Southern-Kurdish (sdh)**
65
  - News: https://shafaq.com/ku/ (Feyli)
66
 
67
  - **Gurani (hac)**
 
70
  - **Kirmanjki (kiu)**
71
  - News: https://anfkirmancki.com/
72
 
 
73
  - **Fanti (fat)**
74
  - News: https://akannews.com/fante/
75
 
76
  - **Twi (twi)**
77
  - News: https://akannews.com/asante-twi/
78
 
79
+ - **South-Azerbaijani (azb)**
80
+ - News: https://www.trt.net.tr/turki/
81
+
82
+ - **Southern Uzbek** (uzs)**
83
+ - News: https://www.trt.net.tr/afghaniuzbek/
84
 
 
85
 
86
+ ## License
87
+ We do not own any of the text from which these data has been extracted.
88
+ We license the actual packaging, the metadata and the annotations of these data under the CC BY 4.0.
89
+ If you are a website/dataset owner and do not want your data to be included in this corpra, please send us an email at [email protected] .
90
 
91
 
92
  ## Ethical Considerations