公开数据集
数据结构 ? 11.13M
Data Structure ?
* 以上分析是由系统提取分析形成的结果,具体实际数据为准。
README.md
Past studies in Sarcasm Detection mostly make use of Twitter datasets collected using hashtag based supervision but such datasets are noisy in terms of labels and language. Furthermore, many tweets are replies to other tweets and detecting sarcasm in these requires the availability of contextual tweets.
To overcome the limitations related to noise in Twitter datasets, this News Headlines dataset for Sarcasm Detection is collected from two news website. TheOnion aims at producing sarcastic versions of current events and we collected all the headlines from News in Brief and News in Photos categories (which are sarcastic). We collect real (and non-sarcastic) news headlines from HuffPost.
This new dataset has following advantages over the existing Twitter datasets:
Since news headlines are written by professionals in a formal manner, there are no spelling mistakes and informal usage. This reduces the sparsity and also increases the chance of finding pre-trained embeddings.
Furthermore, since the sole purpose of TheOnion is to publish sarcastic news, we get high-quality labels with much less noise as compared to Twitter datasets.
Unlike tweets which are replies to other tweets, the news headlines we obtained are self-contained. This would help us in teasing apart the real sarcastic elements.
Content
Each record consists of three attributes:
is_sarcastic
: 1 if the record is sarcastic otherwise 0headline
: the headline of the news articlearticle_link
: link to the original news article. Useful in collecting supplementary data
General statistics of data, instructions on how to read the data in python, and basic exploratory analysis could be found at this GitHub repo. A hybrid NN architecture trained on this dataset can be found at this GitHub repo.
Citation
If you're using this dataset for your work, please cite the following articles:
Citation in text format:
1. Misra, Rishabh and Prahal Arora. "Sarcasm Detection using News Headlines Dataset." AI Open (2023). 2. Misra, Rishabh and Jigyasa Grover. "Sculpting Data for ML: The first act of Machine Learning." ISBN 9798585463570 (2021).
Citation in BibTex format:
@article{misra2023Sarcasm, title = {Sarcasm Detection using News Headlines Dataset}, journal = {AI Open}, volume = {4}, pages = {13-18}, year = {2023}, issn = {2666-6510}, doi = {https://doi.org/10.1016/j.aiopen.2023.01.001}, url = {https://www.sciencedirect.com/science/article/pii/S2666651023000013}, author = {Rishabh Misra and Prahal Arora}, } @book{misra2021sculpting, author = {Misra, Rishabh and Grover, Jigyasa}, year = {2021}, month = {01}, pages = {}, title = {Sculpting Data for ML: The first act of Machine Learning}, isbn = {9798585463570} }
Please link to rishabhmisra.github.io/publications as the source of this dataset. Thanks!
Inspiration
Can you identify sarcastic sentences? Can you distinguish between fake news and legitimate news?
Reading the data
Following code snippet could be used to read the data:
import json def parse_data(file): for l in open(file,'r'): yield json.loads(l) data = list(parse_data('./Sarcasm_Headlines_Dataset.json'))
帕依提提提温馨提示
该数据集正在整理中,为您准备了其他渠道,请您使用
- 分享你的想法
全部内容
数据使用声明:
- 1、该数据来自于互联网数据采集或服务商的提供,本平台为用户提供数据集的展示与浏览。
- 2、本平台仅作为数据集的基本信息展示、包括但不限于图像、文本、视频、音频等文件类型。
- 3、数据集基本信息来自数据原地址或数据提供方提供的信息,如数据集描述中有描述差异,请以数据原地址或服务商原地址为准。
- 1、本站中的所有数据集的版权都归属于原数据发布者或数据提供方所有。
- 1、如您需要转载本站数据,请保留原数据地址及相关版权声明。
- 1、如本站中的部分数据涉及侵权展示,请及时联系本站,我们会安排进行数据下线。