Datasets:
Added Dataset Card
Browse files
README.md
CHANGED
@@ -1,3 +1,120 @@
|
|
1 |
---
|
2 |
license: apache-2.0
|
|
|
|
|
|
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
+
language:
|
4 |
+
- ind
|
5 |
+
pretty_name: "Reddit Indonesia Sarcastic"
|
6 |
---
|
7 |
+
|
8 |
+
# Reddit Indonesia Sarcastic
|
9 |
+
|
10 |
+
Reddit Indonesia Sarcastic is a dataset intended for sarcasm detection in the Indonesian language. This dataset is inspired by the data collection procedure introduced in [Ranti, K.S., & Girsang, A.S (2020)](http://www.warse.org/IJETER/static/pdf/file/ijeter10892020.pdf), whereby Reddit comments from r/indonesia subreddit are collected and filtered by the existence of an `/s` tag at the end of the comment. We collected Reddit comments from 2020-01 to 2023-09 from [Academic Torrents](https://academictorrents.com/details/89d24ff9d5fbc1efcdaf9d7689d72b7548f699fc) and applied the aforementioned procedure. Further, we performed deduplication with minHash LSH, PII masking to remove usernames, hashtags, emails, URLs, and finally a random sampling to limit the non-sarcastic comments. Following [SemEval-2022 Task 6: iSarcasmEval](https://aclanthology.org/2022.semeval-1.111/), we used a 1:3 ratio to balance sarcastic with non-sarcastic comments.
|
11 |
+
|
12 |
+
## Dataset Structure
|
13 |
+
|
14 |
+
### Data Instances
|
15 |
+
|
16 |
+
```py
|
17 |
+
{
|
18 |
+
"author": "curuya",
|
19 |
+
"created_utc": 1584876528,
|
20 |
+
"score": 7,
|
21 |
+
"permalink": "/r/indonesia/comments/fmxhfe/jangan_takut_sama_corona_takut_sama_allah/fl6n993/",
|
22 |
+
"subreddit": "indonesia",
|
23 |
+
"body": 'taat perintah tuhan : "kalau ada razia mendingan kabur" /s',
|
24 |
+
"lang_fastText": "id",
|
25 |
+
"label": 1,
|
26 |
+
"text": 'taat perintah tuhan : "kalau ada razia mendingan kabur"',
|
27 |
+
}
|
28 |
+
```
|
29 |
+
|
30 |
+
### Data Fields
|
31 |
+
|
32 |
+
- `author`: Comment author.
|
33 |
+
- `created_utc`: Comment creation time, in UTC.
|
34 |
+
- `score`: Comment's Reddit voting score.
|
35 |
+
- `permalink`: Permalink to the Reddit comment.
|
36 |
+
- `subreddit`: Subreddit name.
|
37 |
+
- `body`: Raw Reddit comment content.
|
38 |
+
- `lang_fastText`: Language detected by [fasttext-langdetect](https://github.com/zafercavdar/fasttext-langdetect).
|
39 |
+
- `label`: `0` for non-sarcastic, `1` for sarcastic.
|
40 |
+
- `text`: Sarcastic tag-removed, PII-masked version of `body`.
|
41 |
+
|
42 |
+
### Data Splits
|
43 |
+
|
44 |
+
| Split | #sarcastic | #non sarcastic | #total |
|
45 |
+
| ------------------ | :--------: | :------------: | :-----: |
|
46 |
+
| `train` | 2470 | 7411 | 9881 |
|
47 |
+
| `test` | 706 | 2118 | 2824 |
|
48 |
+
| `validation` | 353 | 1058 | 1411 |
|
49 |
+
| Total (balanced) | 3529 | 10587 | 14116 |
|
50 |
+
| Total (unbalanced) | 3529 | 2616335 | 2619864 |
|
51 |
+
|
52 |
+
### Dataset Directory
|
53 |
+
|
54 |
+
```sh
|
55 |
+
reddit_indonesia_sarcastic/
|
56 |
+
βββ README.md
|
57 |
+
βββ data # re-balanced dataset
|
58 |
+
β βββ test.json
|
59 |
+
β βββ train.json
|
60 |
+
β βββ validation.json
|
61 |
+
βββ raw_data # raw unbalanced dataset
|
62 |
+
βββ reddit_indonesia_sarcastic.json
|
63 |
+
```
|
64 |
+
|
65 |
+
## Authors
|
66 |
+
|
67 |
+
Reddit Indonesia Sarcastic is prepared by:
|
68 |
+
|
69 |
+
<a href="https://github.com/w11wo">
|
70 |
+
<img src="https://github.com/w11wo.png" alt="GitHub Profile" style="border-radius: 50%;width: 64px;border: solid 1px #fff;margin:0 4px;">
|
71 |
+
</a>
|
72 |
+
|
73 |
+
## References
|
74 |
+
|
75 |
+
```bibtex
|
76 |
+
@article{Ranti2020IndonesianSD,
|
77 |
+
title={Indonesian Sarcasm Detection Using Convolutional Neural Network},
|
78 |
+
author={Kiefer Stefano Ranti and Abba Suganda Girsang},
|
79 |
+
journal={International Journal of Emerging Trends in Engineering Research},
|
80 |
+
year={2020},
|
81 |
+
url={https://doi.org/10.30534/ijeter/2020/10892020}
|
82 |
+
}
|
83 |
+
|
84 |
+
@article{academicReddit,
|
85 |
+
title= {Reddit comments/submissions 2005-06 to 2023-09},
|
86 |
+
journal= {},
|
87 |
+
author= {stuck_in_the_matrix, Watchful1, RaiderBDev},
|
88 |
+
year= {},
|
89 |
+
url= {},
|
90 |
+
abstract= {Reddit comments and submissions from 2005-06 to 2023-09 collected by pushshift and u/RaiderBDev. These are zstandard compressed ndjson files. Example python scripts for parsing the data can be found here https://github.com/Watchful1/PushshiftDumps},
|
91 |
+
keywords= {reddit},
|
92 |
+
terms= {},
|
93 |
+
license= {},
|
94 |
+
superseded= {}
|
95 |
+
}
|
96 |
+
|
97 |
+
@inproceedings{abu-farha-etal-2022-semeval,
|
98 |
+
title = "{S}em{E}val-2022 Task 6: i{S}arcasm{E}val, Intended Sarcasm Detection in {E}nglish and {A}rabic",
|
99 |
+
author = "Abu Farha, Ibrahim and
|
100 |
+
Oprea, Silviu Vlad and
|
101 |
+
Wilson, Steven and
|
102 |
+
Magdy, Walid",
|
103 |
+
editor = "Emerson, Guy and
|
104 |
+
Schluter, Natalie and
|
105 |
+
Stanovsky, Gabriel and
|
106 |
+
Kumar, Ritesh and
|
107 |
+
Palmer, Alexis and
|
108 |
+
Schneider, Nathan and
|
109 |
+
Singh, Siddharth and
|
110 |
+
Ratan, Shyam",
|
111 |
+
booktitle = "Proceedings of the 16th International Workshop on Semantic Evaluation (SemEval-2022)",
|
112 |
+
month = jul,
|
113 |
+
year = "2022",
|
114 |
+
address = "Seattle, United States",
|
115 |
+
publisher = "Association for Computational Linguistics",
|
116 |
+
url = "https://aclanthology.org/2022.semeval-1.111",
|
117 |
+
doi = "10.18653/v1/2022.semeval-1.111",
|
118 |
+
pages = "802--814",
|
119 |
+
}
|
120 |
+
```
|