license: cc-by-4.0
language:
- bal
- glk
- brh
- sdh
- kur
- hac
- kiu
- zza
- twi
- fat
- aka
pretty_name: GlotSparse Corpus
GlotSparse Corpus
- Balochi (bal)
- Gilaki (glk)
- Brahui (brh)
- Southern Kurdish (sdh), MacroLanguage: Kurdish (kur)
- Gurani (hac)
- Kirmanjki (kiu), MacroLanguage: Zaza (zza)
- Fanti (fat), MacroLanguage: Akan (aka)
- Twi (twi), MacroLanguage: Akan (aka)
Usage
dataset = load_dataset('kargaranamir/GlotSparse')
print(dataset['train'][0]) # First row
Download
If you are not a fan of HF dataloader or just interested in a specific language, download it directly:
! wget https://huggingface.co/datasets/kargaranamir/GlotSparse/resolve/main/balochi.csv
! wget https://huggingface.co/datasets/kargaranamir/GlotSparse/resolve/main/gilaki.csv
! wget https://huggingface.co/datasets/kargaranamir/GlotSparse/resolve/main/brahui.csv
! wget https://huggingface.co/datasets/kargaranamir/GlotSparse/resolve/main/southern-kurdish.csv
! wget https://huggingface.co/datasets/kargaranamir/GlotSparse/resolve/main/gurani.csv
! wget https://huggingface.co/datasets/kargaranamir/GlotSparse/resolve/main/kirmanjki.csv
! wget https://huggingface.co/datasets/kargaranamir/GlotSparse/resolve/main/fanti.csv
! wget https://huggingface.co/datasets/kargaranamir/GlotSparse/resolve/main/twi.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)
Southern Kurdish (sdh)
- News: https://shafaq.com/ku/ (Feyli)
Gurani (hac)
- News: https://anfsorani.com/هۆرامی (Hawrami)
Kirmanjki (kiu)
Fanti (fat)
Twi (twi)
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] .
Code
Crawler code is available here under MIT license: https://github.com/kargaranamir/GlotSparse. Script checking and cleaning is done using GlotScript.
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, ...).
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. Ethics: 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. All the sources related to news, social media, and without mentioned datasets are crawled and compiled in this work.
@misc{GlotSparse,
author = {Kargaran, Amir Hossein},
title = {GlotSparse Corpus},
year = {2023},
publisher = {Github},
journal = {Github Repository},
howpublished = {\url{https://github.com/kargaranamir/GlotSparse}},
}