Datasets:
AlirezaF138
commited on
Commit
•
ee715e4
1
Parent(s):
b08b8b3
Update README.md
Browse files
README.md
CHANGED
@@ -1,28 +1,129 @@
|
|
1 |
-
---
|
2 |
-
license: cc-by-nc-nd-4.0
|
3 |
-
dataset_info:
|
4 |
-
features:
|
5 |
-
- name: text
|
6 |
-
dtype: string
|
7 |
-
splits:
|
8 |
-
- name: fa
|
9 |
-
num_bytes: 3009706457
|
10 |
-
num_examples: 20665964
|
11 |
-
- name: normalized
|
12 |
-
num_bytes: 2727445009
|
13 |
-
num_examples: 20665964
|
14 |
-
- name: en
|
15 |
-
num_bytes: 1499109169
|
16 |
-
num_examples: 13357835
|
17 |
-
download_size: 3708178338
|
18 |
-
dataset_size: 7236260635
|
19 |
-
configs:
|
20 |
-
- config_name: default
|
21 |
-
data_files:
|
22 |
-
- split: fa
|
23 |
-
path: data/fa-*
|
24 |
-
- split: normalized
|
25 |
-
path: data/normalized-*
|
26 |
-
- split: en
|
27 |
-
path: data/en-*
|
28 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: cc-by-nc-nd-4.0
|
3 |
+
dataset_info:
|
4 |
+
features:
|
5 |
+
- name: text
|
6 |
+
dtype: string
|
7 |
+
splits:
|
8 |
+
- name: fa
|
9 |
+
num_bytes: 3009706457
|
10 |
+
num_examples: 20665964
|
11 |
+
- name: normalized
|
12 |
+
num_bytes: 2727445009
|
13 |
+
num_examples: 20665964
|
14 |
+
- name: en
|
15 |
+
num_bytes: 1499109169
|
16 |
+
num_examples: 13357835
|
17 |
+
download_size: 3708178338
|
18 |
+
dataset_size: 7236260635
|
19 |
+
configs:
|
20 |
+
- config_name: default
|
21 |
+
data_files:
|
22 |
+
- split: fa
|
23 |
+
path: data/fa-*
|
24 |
+
- split: normalized
|
25 |
+
path: data/normalized-*
|
26 |
+
- split: en
|
27 |
+
path: data/en-*
|
28 |
+
language:
|
29 |
+
- fa
|
30 |
+
- en
|
31 |
+
pretty_name: 'LSCP: Enhanced Large Scale Colloquial Persian Language Understanding'
|
32 |
+
---
|
33 |
+
|
34 |
+
# Enhanced Large Scale Colloquial Persian Language Understanding (LSCP)
|
35 |
+
|
36 |
+
**Original Authors:**
|
37 |
+
|
38 |
+
- Hadi Abdi Khojasteh, Institute for Advanced Studies in Basic Sciences (IASBS)
|
39 |
+
- Ebrahim Ansari, Charles University, Institute of Formal and Applied Linguistics
|
40 |
+
- Mahdi Bohlouli, Petanux GmbH
|
41 |
+
|
42 |
+
**Supported by:** Institute for Advanced Studies in Basic Sciences (IASBS), Charles University, and Petanux GmbH
|
43 |
+
|
44 |
+
**Licensing:** This dataset is made available under the **CC BY-NC-ND 4.0** license.
|
45 |
+
|
46 |
+
### Note on Re-upload
|
47 |
+
|
48 |
+
This is a re-uploaded version of the LSCP dataset, which only includes the **Persian and English languages**. The original dataset with all languages (German, Czech, Italian, and Hindi) is available in the [LINDAT/CLARIAH-CZ repository](https://lindat.mff.cuni.cz/repository/xmlui/handle/11234/1-3195).
|
49 |
+
|
50 |
+
---
|
51 |
+
|
52 |
+
## Overview
|
53 |
+
|
54 |
+
The Enhanced Large Scale Colloquial Persian (LSCP) dataset offers an extensive corpus for colloquial Persian language processing, specifically designed to address the challenges of low-resource languages in NLP. This dataset comprises 120 million sentences derived from 27 million Persian tweets and includes annotations such as parsing trees, part-of-speech tags, sentiment polarity, and multilingual translations (English, German, Czech, Italian, and Hindi).
|
55 |
+
|
56 |
+
With LSCP, researchers can explore various NLP tasks within informal Persian language, filling a crucial gap in colloquial Persian language processing and advancing the potential applications of NLP for low-resource languages.
|
57 |
+
|
58 |
+
## Dataset Content
|
59 |
+
|
60 |
+
- **Sentences:** 120 million sentences derived from 27 million Persian tweets.
|
61 |
+
- **Annotations:** Parsing trees, part-of-speech tags, sentiment polarity.
|
62 |
+
- **Translations Available in This Repository:** Persian (Farsi) and English portions.
|
63 |
+
- **License:** CC BY-NC-ND 4.0
|
64 |
+
|
65 |
+
### BibTeX Citation
|
66 |
+
|
67 |
+
If you use this dataset, please cite the original work:
|
68 |
+
|
69 |
+
```bibtex
|
70 |
+
@InProceedings{abdikhojasteh:2020:LREC,
|
71 |
+
author = {Abdi Khojasteh, Hadi and Ansari, Ebrahim and Bohlouli, Mahdi},
|
72 |
+
title = {LSCP: Enhanced Large Scale Colloquial Persian Language Understanding},
|
73 |
+
booktitle = {Proceedings of the Twelfth International Conference on Language Resources and Evaluation (LREC 2020)},
|
74 |
+
year = {2020},
|
75 |
+
address = {Marseille, France},
|
76 |
+
publisher = {European Language Resources Association},
|
77 |
+
pages = {6323--6327},
|
78 |
+
url = {https://www.aclweb.org/anthology/2020.lrec-1.776}
|
79 |
+
}
|
80 |
+
```
|
81 |
+
|
82 |
+
---
|
83 |
+
|
84 |
+
## Getting Started
|
85 |
+
|
86 |
+
### Downloading the Dataset
|
87 |
+
|
88 |
+
This dataset can be accessed from the [LINDAT/CLARIAH-CZ repository](https://lindat.mff.cuni.cz/repository/xmlui/handle/11234/1-3195) or directly from this Hugging Face repository for the Persian, English, and normalized splits only.
|
89 |
+
|
90 |
+
To load the dataset directly from Hugging Face using the `datasets` library:
|
91 |
+
|
92 |
+
```python
|
93 |
+
from datasets import load_dataset
|
94 |
+
|
95 |
+
ds = load_dataset("AlirezaF138/LSCP-Dataset") # Available splits: 'fa', 'en', 'normalized'
|
96 |
+
```
|
97 |
+
|
98 |
+
This command will download and load the Persian, English, and normalized splits of the dataset, allowing you to start using it immediately in your NLP pipeline. For more extensive multilingual data, refer to the full original corpus available on [LINDAT/CLARIAH-CZ](https://lindat.mff.cuni.cz/repository/xmlui/handle/11234/1-3195).
|
99 |
+
|
100 |
+
### Loading the Data
|
101 |
+
|
102 |
+
After downloading and decompressing, you can load the data for each source separately (e.g., monolingual Persian or Persian-English bilingual pairs). This can be done using standard file-reading functions by splitting lines on newline characters.
|
103 |
+
|
104 |
+
An example pipeline is also available for use via [Google Colab](https://colab.research.google.com/drive/1VoY2BjOdI0thx6bpOK5zAxQiP0ry4V70).
|
105 |
+
|
106 |
+
---
|
107 |
+
|
108 |
+
## Language Specificity
|
109 |
+
|
110 |
+
The LSCP dataset reflects linguistic nuances in colloquial Persian, capturing the characteristics of spoken Persian language (e.g., informal contractions, limited vocabulary compared to written forms, and phonetic shifts). This resource is particularly valuable for studying these language-specific phenomena within NLP tasks.
|
111 |
+
|
112 |
+
## Data Collection and Annotation Process
|
113 |
+
|
114 |
+
Data collection for LSCP utilized Twitter's API, selecting a diverse range of tweets from a list of seed accounts and their followers. The dataset was curated by filtering out non-Persian and duplicate tweets and favoring tweets with longer sentence structures for richer content.
|
115 |
+
|
116 |
+
Annotation was performed using a two-stage process:
|
117 |
+
|
118 |
+
1. **Automatic Annotation**: Initial tags, syntactic structures, and translations were generated using StanfordNLP and Google Cloud Translation.
|
119 |
+
2. **Human Verification**: Human annotators verified tags, corrected mislabeled elements, and refined translations to ensure quality.
|
120 |
+
|
121 |
+
## Licensing and Attribution
|
122 |
+
|
123 |
+
This dataset is released under the **CC BY-NC-ND 4.0** license, allowing non-commercial use with attribution to the original creators. Redistribution and modification are not permitted under this license.
|
124 |
+
|
125 |
+
Please ensure proper attribution by citing the BibTeX reference provided above when using this dataset.
|
126 |
+
|
127 |
+
---
|
128 |
+
|
129 |
+
For more information, please refer to the [LINDAT/CLARIAH-CZ repository](https://lindat.mff.cuni.cz/repository/xmlui/) or the original publication in the [LREC 2020 proceedings](https://www.aclweb.org/anthology/2020.lrec-1.776).
|