Datasets:
Tasks:
Text Classification
Modalities:
Text
Formats:
parquet
Size:
10K - 100K
Tags:
stance-detection
License:
parquet-converter
commited on
Commit
•
14f46b5
1
Parent(s):
87df4a3
Update parquet files
Browse files- .gitattributes +0 -27
- README.md +0 -202
- catalan/catalonia_independence-test.parquet +3 -0
- catalan/catalonia_independence-train.parquet +3 -0
- catalan/catalonia_independence-validation.parquet +3 -0
- catalonia_independence.py +0 -120
- dataset_infos.json +0 -1
- spanish/catalonia_independence-test.parquet +3 -0
- spanish/catalonia_independence-train.parquet +3 -0
- spanish/catalonia_independence-validation.parquet +3 -0
.gitattributes
DELETED
@@ -1,27 +0,0 @@
|
|
1 |
-
*.7z filter=lfs diff=lfs merge=lfs -text
|
2 |
-
*.arrow filter=lfs diff=lfs merge=lfs -text
|
3 |
-
*.bin filter=lfs diff=lfs merge=lfs -text
|
4 |
-
*.bin.* filter=lfs diff=lfs merge=lfs -text
|
5 |
-
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
6 |
-
*.ftz filter=lfs diff=lfs merge=lfs -text
|
7 |
-
*.gz filter=lfs diff=lfs merge=lfs -text
|
8 |
-
*.h5 filter=lfs diff=lfs merge=lfs -text
|
9 |
-
*.joblib filter=lfs diff=lfs merge=lfs -text
|
10 |
-
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
11 |
-
*.model filter=lfs diff=lfs merge=lfs -text
|
12 |
-
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
13 |
-
*.onnx filter=lfs diff=lfs merge=lfs -text
|
14 |
-
*.ot filter=lfs diff=lfs merge=lfs -text
|
15 |
-
*.parquet filter=lfs diff=lfs merge=lfs -text
|
16 |
-
*.pb filter=lfs diff=lfs merge=lfs -text
|
17 |
-
*.pt filter=lfs diff=lfs merge=lfs -text
|
18 |
-
*.pth filter=lfs diff=lfs merge=lfs -text
|
19 |
-
*.rar filter=lfs diff=lfs merge=lfs -text
|
20 |
-
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
21 |
-
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
22 |
-
*.tflite filter=lfs diff=lfs merge=lfs -text
|
23 |
-
*.tgz filter=lfs diff=lfs merge=lfs -text
|
24 |
-
*.xz filter=lfs diff=lfs merge=lfs -text
|
25 |
-
*.zip filter=lfs diff=lfs merge=lfs -text
|
26 |
-
*.zstandard filter=lfs diff=lfs merge=lfs -text
|
27 |
-
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
README.md
DELETED
@@ -1,202 +0,0 @@
|
|
1 |
-
---
|
2 |
-
annotations_creators:
|
3 |
-
- expert-generated
|
4 |
-
language_creators:
|
5 |
-
- crowdsourced
|
6 |
-
language:
|
7 |
-
- ca
|
8 |
-
- es
|
9 |
-
license:
|
10 |
-
- cc-by-nc-sa-4.0
|
11 |
-
multilinguality:
|
12 |
-
- monolingual
|
13 |
-
size_categories:
|
14 |
-
- 10K<n<100K
|
15 |
-
source_datasets:
|
16 |
-
- original
|
17 |
-
task_categories:
|
18 |
-
- text-classification
|
19 |
-
task_ids: []
|
20 |
-
paperswithcode_id: cic
|
21 |
-
pretty_name: Catalonia Independence Corpus
|
22 |
-
configs:
|
23 |
-
- catalan
|
24 |
-
- spanish
|
25 |
-
tags:
|
26 |
-
- stance-detection
|
27 |
-
dataset_info:
|
28 |
-
- config_name: catalan
|
29 |
-
features:
|
30 |
-
- name: id_str
|
31 |
-
dtype: string
|
32 |
-
- name: TWEET
|
33 |
-
dtype: string
|
34 |
-
- name: LABEL
|
35 |
-
dtype:
|
36 |
-
class_label:
|
37 |
-
names:
|
38 |
-
0: AGAINST
|
39 |
-
1: FAVOR
|
40 |
-
2: NEUTRAL
|
41 |
-
splits:
|
42 |
-
- name: train
|
43 |
-
num_bytes: 1406250
|
44 |
-
num_examples: 6028
|
45 |
-
- name: test
|
46 |
-
num_bytes: 469204
|
47 |
-
num_examples: 2010
|
48 |
-
- name: validation
|
49 |
-
num_bytes: 473393
|
50 |
-
num_examples: 2010
|
51 |
-
download_size: 995415
|
52 |
-
dataset_size: 2348847
|
53 |
-
- config_name: spanish
|
54 |
-
features:
|
55 |
-
- name: id_str
|
56 |
-
dtype: string
|
57 |
-
- name: TWEET
|
58 |
-
dtype: string
|
59 |
-
- name: LABEL
|
60 |
-
dtype:
|
61 |
-
class_label:
|
62 |
-
names:
|
63 |
-
0: AGAINST
|
64 |
-
1: FAVOR
|
65 |
-
2: NEUTRAL
|
66 |
-
splits:
|
67 |
-
- name: train
|
68 |
-
num_bytes: 1507388
|
69 |
-
num_examples: 6046
|
70 |
-
- name: test
|
71 |
-
num_bytes: 501783
|
72 |
-
num_examples: 2016
|
73 |
-
- name: validation
|
74 |
-
num_bytes: 505092
|
75 |
-
num_examples: 2015
|
76 |
-
download_size: 1070281
|
77 |
-
dataset_size: 2514263
|
78 |
-
---
|
79 |
-
|
80 |
-
# Dataset Card for Catalonia Independence Corpus
|
81 |
-
|
82 |
-
## Table of Contents
|
83 |
-
- [Dataset Description](#dataset-description)
|
84 |
-
- [Dataset Summary](#dataset-summary)
|
85 |
-
- [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
|
86 |
-
- [Languages](#languages)
|
87 |
-
- [Dataset Structure](#dataset-structure)
|
88 |
-
- [Data Instances](#data-instances)
|
89 |
-
- [Data Fields](#data-fields)
|
90 |
-
- [Data Splits](#data-splits)
|
91 |
-
- [Dataset Creation](#dataset-creation)
|
92 |
-
- [Curation Rationale](#curation-rationale)
|
93 |
-
- [Source Data](#source-data)
|
94 |
-
- [Annotations](#annotations)
|
95 |
-
- [Personal and Sensitive Information](#personal-and-sensitive-information)
|
96 |
-
- [Considerations for Using the Data](#considerations-for-using-the-data)
|
97 |
-
- [Social Impact of Dataset](#social-impact-of-dataset)
|
98 |
-
- [Discussion of Biases](#discussion-of-biases)
|
99 |
-
- [Other Known Limitations](#other-known-limitations)
|
100 |
-
- [Additional Information](#additional-information)
|
101 |
-
- [Dataset Curators](#dataset-curators)
|
102 |
-
- [Licensing Information](#licensing-information)
|
103 |
-
- [Citation Information](#citation-information)
|
104 |
-
- [Contributions](#contributions)
|
105 |
-
|
106 |
-
## Dataset Description
|
107 |
-
|
108 |
-
- **Homepage:** https://github.com/ixa-ehu/catalonia-independence-corpus
|
109 |
-
- **Repository:** https://github.com/ixa-ehu/catalonia-independence-corpus
|
110 |
-
- **Paper:** [Multilingual Stance Detection: The Catalonia Independence Corpus](https://www.aclweb.org/anthology/2020.lrec-1.171/)
|
111 |
-
- **Leaderboard:**
|
112 |
-
- **Point of Contact:** [Rodrigo Agerri](https://github.com/ragerri) (corpus creator)
|
113 |
-
|
114 |
-
### Dataset Summary
|
115 |
-
|
116 |
-
This dataset contains two corpora in Spanish and Catalan that consist of annotated Twitter messages for automatic stance detection. The data was collected over 12 days during February and March of 2019 from tweets posted in Barcelona, and during September of 2018 from tweets posted in the town of Terrassa, Catalonia.
|
117 |
-
|
118 |
-
Each corpus is annotated with three classes: AGAINST, FAVOR and NEUTRAL, which express the stance towards the target - independence of Catalonia.
|
119 |
-
|
120 |
-
### Supported Tasks and Leaderboards
|
121 |
-
|
122 |
-
[More Information Needed]
|
123 |
-
|
124 |
-
### Languages
|
125 |
-
|
126 |
-
Spanish and Catalan
|
127 |
-
|
128 |
-
## Dataset Structure
|
129 |
-
|
130 |
-
### Data Instances
|
131 |
-
|
132 |
-
[More Information Needed]
|
133 |
-
|
134 |
-
### Data Fields
|
135 |
-
|
136 |
-
[More Information Needed]
|
137 |
-
|
138 |
-
### Data Splits
|
139 |
-
|
140 |
-
[More Information Needed]
|
141 |
-
|
142 |
-
## Dataset Creation
|
143 |
-
|
144 |
-
### Curation Rationale
|
145 |
-
|
146 |
-
[More Information Needed]
|
147 |
-
|
148 |
-
### Source Data
|
149 |
-
|
150 |
-
#### Initial Data Collection and Normalization
|
151 |
-
|
152 |
-
[More Information Needed]
|
153 |
-
|
154 |
-
#### Who are the source language producers?
|
155 |
-
|
156 |
-
[More Information Needed]
|
157 |
-
|
158 |
-
### Annotations
|
159 |
-
|
160 |
-
#### Annotation process
|
161 |
-
|
162 |
-
[More Information Needed]
|
163 |
-
|
164 |
-
#### Who are the annotators?
|
165 |
-
|
166 |
-
[More Information Needed]
|
167 |
-
|
168 |
-
### Personal and Sensitive Information
|
169 |
-
|
170 |
-
[More Information Needed]
|
171 |
-
|
172 |
-
## Considerations for Using the Data
|
173 |
-
|
174 |
-
### Social Impact of Dataset
|
175 |
-
|
176 |
-
[More Information Needed]
|
177 |
-
|
178 |
-
### Discussion of Biases
|
179 |
-
|
180 |
-
[More Information Needed]
|
181 |
-
|
182 |
-
### Other Known Limitations
|
183 |
-
|
184 |
-
[More Information Needed]
|
185 |
-
|
186 |
-
## Additional Information
|
187 |
-
|
188 |
-
### Dataset Curators
|
189 |
-
|
190 |
-
[More Information Needed]
|
191 |
-
|
192 |
-
### Licensing Information
|
193 |
-
|
194 |
-
[More Information Needed]
|
195 |
-
|
196 |
-
### Citation Information
|
197 |
-
|
198 |
-
[More Information Needed]
|
199 |
-
|
200 |
-
### Contributions
|
201 |
-
|
202 |
-
Thanks to [@lewtun](https://github.com/lewtun) for adding this dataset.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
catalan/catalonia_independence-test.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e7499b0e3ceab1c74019fe28f7256d931fe89ce22d4ebec583498fa70fd19208
|
3 |
+
size 331729
|
catalan/catalonia_independence-train.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e8c3156cbc0fc7df43b11c18229d53cb2e19a865c9d37103c9bd0ba1b5dbbb19
|
3 |
+
size 976634
|
catalan/catalonia_independence-validation.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3d1e19977517bdfbe2ab3133d56ec0beb5e53a6bd7ae3488269602cc2af94d4f
|
3 |
+
size 330316
|
catalonia_independence.py
DELETED
@@ -1,120 +0,0 @@
|
|
1 |
-
# coding=utf-8
|
2 |
-
# Copyright 2020 The HuggingFace Datasets Authors and the current dataset script contributor.
|
3 |
-
#
|
4 |
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
5 |
-
# you may not use this file except in compliance with the License.
|
6 |
-
# You may obtain a copy of the License at
|
7 |
-
#
|
8 |
-
# http://www.apache.org/licenses/LICENSE-2.0
|
9 |
-
#
|
10 |
-
# Unless required by applicable law or agreed to in writing, software
|
11 |
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
12 |
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13 |
-
# See the License for the specific language governing permissions and
|
14 |
-
# limitations under the License.
|
15 |
-
"""This dataset contains two corpora in Spanish and Catalan that consist of annotated Twitter messages for automatic stance detection."""
|
16 |
-
|
17 |
-
|
18 |
-
import csv
|
19 |
-
import os
|
20 |
-
|
21 |
-
import datasets
|
22 |
-
|
23 |
-
|
24 |
-
_CITATION = """\
|
25 |
-
@inproceedings{zotova-etal-2020-multilingual,
|
26 |
-
title = "Multilingual Stance Detection in Tweets: The {C}atalonia Independence Corpus",
|
27 |
-
author = "Zotova, Elena and
|
28 |
-
Agerri, Rodrigo and
|
29 |
-
Nunez, Manuel and
|
30 |
-
Rigau, German",
|
31 |
-
booktitle = "Proceedings of the 12th Language Resources and Evaluation Conference",
|
32 |
-
month = may,
|
33 |
-
year = "2020",
|
34 |
-
address = "Marseille, France",
|
35 |
-
publisher = "European Language Resources Association",
|
36 |
-
url = "https://www.aclweb.org/anthology/2020.lrec-1.171",
|
37 |
-
pages = "1368--1375",
|
38 |
-
abstract = "Stance detection aims to determine the attitude of a given text with respect to a specific topic or claim. While stance detection has been fairly well researched in the last years, most the work has been focused on English. This is mainly due to the relative lack of annotated data in other languages. The TW-10 referendum Dataset released at IberEval 2018 is a previous effort to provide multilingual stance-annotated data in Catalan and Spanish. Unfortunately, the TW-10 Catalan subset is extremely imbalanced. This paper addresses these issues by presenting a new multilingual dataset for stance detection in Twitter for the Catalan and Spanish languages, with the aim of facilitating research on stance detection in multilingual and cross-lingual settings. The dataset is annotated with stance towards one topic, namely, the ndependence of Catalonia. We also provide a semi-automatic method to annotate the dataset based on a categorization of Twitter users. We experiment on the new corpus with a number of supervised approaches, including linear classifiers and deep learning methods. Comparison of our new corpus with the with the TW-1O dataset shows both the benefits and potential of a well balanced corpus for multilingual and cross-lingual research on stance detection. Finally, we establish new state-of-the-art results on the TW-10 dataset, both for Catalan and Spanish.",
|
39 |
-
language = "English",
|
40 |
-
ISBN = "979-10-95546-34-4",
|
41 |
-
}
|
42 |
-
"""
|
43 |
-
|
44 |
-
_DESCRIPTION = """\
|
45 |
-
This dataset contains two corpora in Spanish and Catalan that consist of annotated Twitter messages for automatic stance detection. The data was collected over 12 days during February and March of 2019 from tweets posted in Barcelona, and during September of 2018 from tweets posted in the town of Terrassa, Catalonia.
|
46 |
-
|
47 |
-
Each corpus is annotated with three classes: AGAINST, FAVOR and NEUTRAL, which express the stance towards the target - independence of Catalonia.
|
48 |
-
"""
|
49 |
-
|
50 |
-
_HOMEPAGE = "https://github.com/ixa-ehu/catalonia-independence-corpus"
|
51 |
-
|
52 |
-
_LICENSE = "CC BY-NC-SA 4.0"
|
53 |
-
|
54 |
-
_URLs = {
|
55 |
-
"catalan": "https://github.com/ixa-ehu/catalonia-independence-corpus/raw/master/01_CIC_CA.zip",
|
56 |
-
"spanish": "https://github.com/ixa-ehu/catalonia-independence-corpus/raw/master/02_CIC_ES.zip",
|
57 |
-
}
|
58 |
-
|
59 |
-
|
60 |
-
class CataloniaIndependence(datasets.GeneratorBasedBuilder):
|
61 |
-
"""This dataset contains two corpora in Spanish and Catalan that consist of annotated Twitter messages for automatic stance detection."""
|
62 |
-
|
63 |
-
VERSION = datasets.Version("1.1.0")
|
64 |
-
|
65 |
-
BUILDER_CONFIGS = [
|
66 |
-
datasets.BuilderConfig(
|
67 |
-
name="catalan",
|
68 |
-
version=VERSION,
|
69 |
-
description="This part of the corpus contains annotated tweets posted in Catalan.",
|
70 |
-
),
|
71 |
-
datasets.BuilderConfig(
|
72 |
-
name="spanish",
|
73 |
-
version=VERSION,
|
74 |
-
description="This part of the corpus contains annotated tweets posted in Spanish.",
|
75 |
-
),
|
76 |
-
]
|
77 |
-
|
78 |
-
DEFAULT_CONFIG_NAME = "catalan"
|
79 |
-
|
80 |
-
def _info(self):
|
81 |
-
features = datasets.Features(
|
82 |
-
{
|
83 |
-
"id_str": datasets.Value("string"),
|
84 |
-
"TWEET": datasets.Value("string"),
|
85 |
-
"LABEL": datasets.ClassLabel(names=["AGAINST", "FAVOR", "NEUTRAL"]),
|
86 |
-
}
|
87 |
-
)
|
88 |
-
return datasets.DatasetInfo(
|
89 |
-
description=_DESCRIPTION,
|
90 |
-
features=features,
|
91 |
-
supervised_keys=None,
|
92 |
-
homepage=_HOMEPAGE,
|
93 |
-
license=_LICENSE,
|
94 |
-
citation=_CITATION,
|
95 |
-
)
|
96 |
-
|
97 |
-
def _split_generators(self, dl_manager):
|
98 |
-
data_dir = dl_manager.download_and_extract(_URLs[self.config.name])
|
99 |
-
return [
|
100 |
-
datasets.SplitGenerator(
|
101 |
-
name=datasets.Split.TRAIN,
|
102 |
-
gen_kwargs={"filepath": os.path.join(data_dir, f"{self.config.name}_train.csv")},
|
103 |
-
),
|
104 |
-
datasets.SplitGenerator(
|
105 |
-
name=datasets.Split.TEST,
|
106 |
-
gen_kwargs={"filepath": os.path.join(data_dir, f"{self.config.name}_test.csv")},
|
107 |
-
),
|
108 |
-
datasets.SplitGenerator(
|
109 |
-
name=datasets.Split.VALIDATION,
|
110 |
-
gen_kwargs={"filepath": os.path.join(data_dir, f"{self.config.name}_val.csv")},
|
111 |
-
),
|
112 |
-
]
|
113 |
-
|
114 |
-
def _generate_examples(self, filepath):
|
115 |
-
with open(filepath, encoding="utf-8") as csv_file:
|
116 |
-
csv_reader = csv.reader(csv_file, delimiter="\t")
|
117 |
-
# skip header
|
118 |
-
next(csv_reader)
|
119 |
-
for _id, row in enumerate(csv_reader):
|
120 |
-
yield _id, {"id_str": row[0], "TWEET": row[1], "LABEL": row[2]}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dataset_infos.json
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
{"catalan": {"description": "This dataset contains two corpora in Spanish and Catalan that consist of annotated Twitter messages for automatic stance detection. The data was collected over 12 days during February and March of 2019 from tweets posted in Barcelona, and during September of 2018 from tweets posted in the town of Terrassa, Catalonia.\n\nEach corpus is annotated with three classes: AGAINST, FAVOR and NEUTRAL, which express the stance towards the target - independence of Catalonia.\n", "citation": "@inproceedings{zotova-etal-2020-multilingual,\n title = \"Multilingual Stance Detection in Tweets: The {C}atalonia Independence Corpus\",\n author = \"Zotova, Elena and\n Agerri, Rodrigo and\n Nunez, Manuel and\n Rigau, German\",\n booktitle = \"Proceedings of the 12th Language Resources and Evaluation Conference\",\n month = may,\n year = \"2020\",\n address = \"Marseille, France\",\n publisher = \"European Language Resources Association\",\n url = \"https://www.aclweb.org/anthology/2020.lrec-1.171\",\n pages = \"1368--1375\",\n abstract = \"Stance detection aims to determine the attitude of a given text with respect to a specific topic or claim. While stance detection has been fairly well researched in the last years, most the work has been focused on English. This is mainly due to the relative lack of annotated data in other languages. The TW-10 referendum Dataset released at IberEval 2018 is a previous effort to provide multilingual stance-annotated data in Catalan and Spanish. Unfortunately, the TW-10 Catalan subset is extremely imbalanced. This paper addresses these issues by presenting a new multilingual dataset for stance detection in Twitter for the Catalan and Spanish languages, with the aim of facilitating research on stance detection in multilingual and cross-lingual settings. The dataset is annotated with stance towards one topic, namely, the ndependence of Catalonia. We also provide a semi-automatic method to annotate the dataset based on a categorization of Twitter users. We experiment on the new corpus with a number of supervised approaches, including linear classifiers and deep learning methods. Comparison of our new corpus with the with the TW-1O dataset shows both the benefits and potential of a well balanced corpus for multilingual and cross-lingual research on stance detection. Finally, we establish new state-of-the-art results on the TW-10 dataset, both for Catalan and Spanish.\",\n language = \"English\",\n ISBN = \"979-10-95546-34-4\",\n}\n", "homepage": "https://github.com/ixa-ehu/catalonia-independence-corpus", "license": "CC BY-NC-SA 4.0", "features": {"id_str": {"dtype": "string", "id": null, "_type": "Value"}, "TWEET": {"dtype": "string", "id": null, "_type": "Value"}, "LABEL": {"num_classes": 3, "names": ["AGAINST", "FAVOR", "NEUTRAL"], "names_file": null, "id": null, "_type": "ClassLabel"}}, "post_processed": null, "supervised_keys": null, "builder_name": "catalonia_independence", "config_name": "catalan", "version": {"version_str": "1.1.0", "description": null, "major": 1, "minor": 1, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 1406250, "num_examples": 6028, "dataset_name": "catalonia_independence"}, "test": {"name": "test", "num_bytes": 469204, "num_examples": 2010, "dataset_name": "catalonia_independence"}, "validation": {"name": "validation", "num_bytes": 473393, "num_examples": 2010, "dataset_name": "catalonia_independence"}}, "download_checksums": {"https://github.com/ixa-ehu/catalonia-independence-corpus/raw/master/01_CIC_CA.zip": {"num_bytes": 995415, "checksum": "c8312c4d1355e414171d166cac5ba3fa97734ebc639b02c2b6f7995cb15c75d9"}}, "download_size": 995415, "post_processing_size": null, "dataset_size": 2348847, "size_in_bytes": 3344262}, "spanish": {"description": "This dataset contains two corpora in Spanish and Catalan that consist of annotated Twitter messages for automatic stance detection. The data was collected over 12 days during February and March of 2019 from tweets posted in Barcelona, and during September of 2018 from tweets posted in the town of Terrassa, Catalonia.\n\nEach corpus is annotated with three classes: AGAINST, FAVOR and NEUTRAL, which express the stance towards the target - independence of Catalonia.\n", "citation": "@inproceedings{zotova-etal-2020-multilingual,\n title = \"Multilingual Stance Detection in Tweets: The {C}atalonia Independence Corpus\",\n author = \"Zotova, Elena and\n Agerri, Rodrigo and\n Nunez, Manuel and\n Rigau, German\",\n booktitle = \"Proceedings of the 12th Language Resources and Evaluation Conference\",\n month = may,\n year = \"2020\",\n address = \"Marseille, France\",\n publisher = \"European Language Resources Association\",\n url = \"https://www.aclweb.org/anthology/2020.lrec-1.171\",\n pages = \"1368--1375\",\n abstract = \"Stance detection aims to determine the attitude of a given text with respect to a specific topic or claim. While stance detection has been fairly well researched in the last years, most the work has been focused on English. This is mainly due to the relative lack of annotated data in other languages. The TW-10 referendum Dataset released at IberEval 2018 is a previous effort to provide multilingual stance-annotated data in Catalan and Spanish. Unfortunately, the TW-10 Catalan subset is extremely imbalanced. This paper addresses these issues by presenting a new multilingual dataset for stance detection in Twitter for the Catalan and Spanish languages, with the aim of facilitating research on stance detection in multilingual and cross-lingual settings. The dataset is annotated with stance towards one topic, namely, the ndependence of Catalonia. We also provide a semi-automatic method to annotate the dataset based on a categorization of Twitter users. We experiment on the new corpus with a number of supervised approaches, including linear classifiers and deep learning methods. Comparison of our new corpus with the with the TW-1O dataset shows both the benefits and potential of a well balanced corpus for multilingual and cross-lingual research on stance detection. Finally, we establish new state-of-the-art results on the TW-10 dataset, both for Catalan and Spanish.\",\n language = \"English\",\n ISBN = \"979-10-95546-34-4\",\n}\n", "homepage": "https://github.com/ixa-ehu/catalonia-independence-corpus", "license": "CC BY-NC-SA 4.0", "features": {"id_str": {"dtype": "string", "id": null, "_type": "Value"}, "TWEET": {"dtype": "string", "id": null, "_type": "Value"}, "LABEL": {"num_classes": 3, "names": ["AGAINST", "FAVOR", "NEUTRAL"], "names_file": null, "id": null, "_type": "ClassLabel"}}, "post_processed": null, "supervised_keys": null, "builder_name": "catalonia_independence", "config_name": "spanish", "version": {"version_str": "1.1.0", "description": null, "major": 1, "minor": 1, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 1507388, "num_examples": 6046, "dataset_name": "catalonia_independence"}, "test": {"name": "test", "num_bytes": 501783, "num_examples": 2016, "dataset_name": "catalonia_independence"}, "validation": {"name": "validation", "num_bytes": 505092, "num_examples": 2015, "dataset_name": "catalonia_independence"}}, "download_checksums": {"https://github.com/ixa-ehu/catalonia-independence-corpus/raw/master/02_CIC_ES.zip": {"num_bytes": 1070281, "checksum": "eb717f7074d5a7c9ef596049bab890ca8a1bae9ac0bad12ef70dc3ae09f068ab"}}, "download_size": 1070281, "post_processing_size": null, "dataset_size": 2514263, "size_in_bytes": 3584544}}
|
|
|
|
spanish/catalonia_independence-test.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:14528cab4afd4169d6fd915b364d1b7193a692e42dc589fb67a769def8b8c7a7
|
3 |
+
size 352571
|
spanish/catalonia_independence-train.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:33344b4d6815aed664462c71ca60b598ca1a2189bbc1ddcda25c3cba01fc3297
|
3 |
+
size 1054096
|
spanish/catalonia_independence-validation.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7dedd92da64c3054b510090e1d86a900d291a54a5496886f68a0481141a7d8ff
|
3 |
+
size 353966
|