Datasets:

Tasks:
Other
Languages:
Arabic
Multilinguality:
monolingual
Size Categories:
1M<n<10M
Language Creators:
found
Annotations Creators:
no-annotation
Source Datasets:
original
ArXiv:
Tags:
data-mining
parquet-converter commited on
Commit
f44faf5
1 Parent(s): ab307c1

Update parquet files

Browse files
Files changed (4) hide show
  1. README.md +0 -167
  2. ar_cov19.py +0 -138
  3. ar_cov19/train/0000.parquet +3 -0
  4. dataset_infos.json +0 -1
README.md DELETED
@@ -1,167 +0,0 @@
1
- ---
2
- annotations_creators:
3
- - no-annotation
4
- language_creators:
5
- - found
6
- language:
7
- - ar
8
- multilinguality:
9
- - monolingual
10
- size_categories:
11
- - 1M<n<10M
12
- source_datasets:
13
- - original
14
- task_categories:
15
- - other
16
- task_ids: []
17
- paperswithcode_id: arcov-19
18
- pretty_name: ArCOV19
19
- tags:
20
- - data-mining
21
- dataset_info:
22
- features:
23
- - name: tweetID
24
- dtype: int64
25
- config_name: ar_cov19
26
- splits:
27
- - name: train
28
- num_bytes: 8724728
29
- num_examples: 1090591
30
- download_size: 54902390
31
- dataset_size: 8724728
32
- ---
33
-
34
- # Dataset Card for ArCOV19
35
-
36
- ## Table of Contents
37
- - [Dataset Description](#dataset-description)
38
- - [Dataset Summary](#dataset-summary)
39
- - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
40
- - [Languages](#languages)
41
- - [Dataset Structure](#dataset-structure)
42
- - [Data Instances](#data-instances)
43
- - [Data Fields](#data-fields)
44
- - [Data Splits](#data-splits)
45
- - [Dataset Creation](#dataset-creation)
46
- - [Curation Rationale](#curation-rationale)
47
- - [Source Data](#source-data)
48
- - [Annotations](#annotations)
49
- - [Personal and Sensitive Information](#personal-and-sensitive-information)
50
- - [Considerations for Using the Data](#considerations-for-using-the-data)
51
- - [Social Impact of Dataset](#social-impact-of-dataset)
52
- - [Discussion of Biases](#discussion-of-biases)
53
- - [Other Known Limitations](#other-known-limitations)
54
- - [Additional Information](#additional-information)
55
- - [Dataset Curators](#dataset-curators)
56
- - [Licensing Information](#licensing-information)
57
- - [Citation Information](#citation-information)
58
- - [Contributions](#contributions)
59
-
60
- ## Dataset Description
61
-
62
- - **Homepage:**
63
- - **Repository:** https://gitlab.com/bigirqu/ArCOV-19
64
- - **Paper:** [ArCOV-19: The First Arabic COVID-19 Twitter Dataset with Propagation Networks](https://arxiv.org/abs/2004.05861)
65
- - **Leaderboard:** [More Information Needed]
66
- - **Point of Contact:** [Fatima Haouari](mailto:200159617@qu.edu.qa)
67
-
68
- ### Dataset Summary
69
-
70
- ArCOV-19 is an Arabic COVID-19 Twitter dataset that covers the period from 27th of January till 30th of April 2020. ArCOV-19 is the first publicly-available Arabic Twitter dataset covering COVID-19 pandemic that includes over 1M tweets alongside the propagation networks of the most-popular subset of them (i.e., most-retweeted and-liked). The propagation networks include both retweets and conversational threads (i.e., threads of replies). ArCOV-19 is designed to enable research under several domains including natural language processing, information retrieval, and social computing, among others. Preliminary analysis shows that ArCOV-19 captures rising discussions associated with the first reported cases of the disease as they appeared in the Arab world. In addition to the source tweets and the propagation networks, we also release the search queries and the language-independent crawler used to collect the tweets to encourage the curation of similar datasets.
71
-
72
- ### Supported Tasks and Leaderboards
73
-
74
- [More Information Needed]
75
-
76
- ### Languages
77
-
78
- Arabic
79
-
80
- ## Dataset Structure
81
-
82
- ### Data Instances
83
-
84
- [More Information Needed]
85
-
86
- ### Data Fields
87
-
88
- tweet_id: the Twitter assigned ID for the tweet object.
89
-
90
- ### Data Splits
91
-
92
- [More Information Needed]
93
-
94
- ## Dataset Creation
95
-
96
- The dataset collection approach is presented in the following paper: [ArCOV-19: The First Arabic COVID-19 Twitter Dataset with Propagation Networks](https://arxiv.org/abs/2004.05861)
97
- ### Curation Rationale
98
-
99
- [More Information Needed]
100
-
101
- ### Source Data
102
-
103
-
104
- #### Initial Data Collection and Normalization
105
-
106
- [More Information Needed]
107
-
108
- #### Who are the source language producers?
109
-
110
- [More Information Needed]
111
-
112
- ### Annotations
113
- No annotation was provided with the dataset.
114
-
115
- #### Annotation process
116
-
117
- No annotation was provided with the dataset.
118
-
119
- #### Who are the annotators?
120
-
121
- No annotation was provided with the dataset.
122
-
123
- ### Personal and Sensitive Information
124
-
125
- [More Information Needed]
126
-
127
- ## Considerations for Using the Data
128
-
129
- ### Social Impact of Dataset
130
-
131
- [More Information Needed]
132
-
133
- ### Discussion of Biases
134
-
135
- [More Information Needed]
136
-
137
- ### Other Known Limitations
138
-
139
- [More Information Needed]
140
-
141
- ## Additional Information
142
-
143
- ### Dataset Curators
144
-
145
- **Team:** [bigIR](https://sites.google.com/view/bigir) from Qatar University ([@bigIR_group](https://twitter.com/bigIR_group))
146
-
147
- - [Fatima Haouari](mailto:200159617@qu.edu.qa)
148
- - [Maram Hasanain](mailto:maram.hasanain@qu.edu.qa)
149
- - [Reem Suwaileh](mailto:rs081123@qu.edu.qa)
150
- - [Dr. Tamer Elsayed](mailto:telsayed@qu.edu.qa)
151
-
152
- ### Licensing Information
153
-
154
- [More Information Needed]
155
-
156
- ### Citation Information
157
-
158
- @article{haouari2020arcov19,
159
- title={ArCOV-19: The First Arabic COVID-19 Twitter Dataset with Propagation Networks},
160
- author={Fatima Haouari and Maram Hasanain and Reem Suwaileh and Tamer Elsayed},
161
- journal={arXiv preprint arXiv:2004.05861},
162
- year={2020}
163
- }
164
-
165
- ### Contributions
166
-
167
- Thanks to [@Fatima-Haouari](https://github.com/Fatima-Haouari) for adding this dataset.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ar_cov19.py DELETED
@@ -1,138 +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
- """TODO: Add a description here."""
16
-
17
-
18
- import glob
19
- import os
20
-
21
- import pandas as pd
22
-
23
- import datasets
24
-
25
-
26
- # TODO: Add BibTeX citation
27
- # Find for instance the citation on arxiv or on the dataset repo/website
28
- _CITATION = """\
29
- @article{haouari2020arcov19,
30
- title={ArCOV-19: The First Arabic COVID-19 Twitter Dataset with Propagation Networks},
31
- author={Fatima Haouari and Maram Hasanain and Reem Suwaileh and Tamer Elsayed},
32
- journal={arXiv preprint arXiv:2004.05861},
33
- year={2020}
34
- """
35
-
36
- # TODO: Add description of the dataset here
37
- # You can copy an official description
38
- _DESCRIPTION = """\
39
- ArCOV-19 is an Arabic COVID-19 Twitter dataset that covers the period from 27th of January till 30th of April 2020. ArCOV-19 is designed to enable research under several domains including natural language processing, information retrieval, and social computing, among others
40
- """
41
-
42
- # TODO: Add a link to an official homepage for the dataset here
43
- _HOMEPAGE = "https://gitlab.com/bigirqu/ArCOV-19"
44
-
45
- # TODO: Add the licence for the dataset here if you can find it
46
- # _LICENSE = ""
47
-
48
- # TODO: Add link to the official dataset URLs here
49
- # The HuggingFace dataset library don't host the datasets but only point to the original files
50
- # This can be an arbitrary nested dict/list of URLs (see below in `_split_generators` method)
51
- _URL = "https://gitlab.com/bigirqu/ArCOV-19/-/archive/master/ArCOV-19-master.zip"
52
- # _URL="https://gitlab.com/bigirqu/ArCOV-19/-/archive/master/ArCOV-19-master.zip?path=dataset/all_tweets"
53
-
54
-
55
- class ArCov19Config(datasets.BuilderConfig):
56
- """BuilderConfig for ArCOV19."""
57
-
58
- def __init__(self, **kwargs):
59
- """BuilderConfig for ArCOV19.
60
-
61
- Args:
62
- **kwargs: keyword arguments forwarded to super.
63
- """
64
- super(ArCov19Config, self).__init__(version=datasets.Version("1.0.0", ""), **kwargs)
65
-
66
-
67
- # TODO: Name of the dataset usually match the script name with CamelCase instead of snake_case
68
- class ArCov19(datasets.GeneratorBasedBuilder):
69
- """ArCOV-19 is an Arabic COVID-19 Twitter dataset that covers the period from 27th of January till 30th of April 2020. ArCOV-19 is designed to enable research under several domains including natural language processing, information retrieval, and social computing, among others"""
70
-
71
- VERSION = datasets.Version("1.1.0")
72
-
73
- # This is an example of a dataset with multiple configurations.
74
- # If you don't want/need to define several sub-sets in your dataset,
75
- # just remove the BUILDER_CONFIG_CLASS and the BUILDER_CONFIGS attributes.
76
-
77
- # If you need to make complex sub-parts in the datasets with configurable options
78
- # You can create your own builder configuration class to store attribute, inheriting from datasets.BuilderConfig
79
- # BUILDER_CONFIG_CLASS = MyBuilderConfig
80
-
81
- # You will be able to load one or the other configurations in the following list with
82
- # data = datasets.load_dataset('my_dataset', 'first_domain')
83
- # data = datasets.load_dataset('my_dataset', 'second_domain')
84
- BUILDER_CONFIGS = [
85
- ArCov19Config(
86
- name="ar_cov19",
87
- description="Plain text",
88
- )
89
- ]
90
-
91
- def _info(self):
92
-
93
- features = {}
94
-
95
- features["tweetID"] = datasets.Value("int64")
96
-
97
- return datasets.DatasetInfo(
98
- # This is the description that will appear on the datasets page.
99
- description=_DESCRIPTION,
100
- # This defines the different columns of the dataset and their types
101
- features=datasets.Features(
102
- features
103
- ), # Here we define them above because they are different between the two configurations
104
- # If there's a common (input, target) tuple from the features,
105
- # specify them here. They'll be used if as_supervised=True in
106
- # builder.as_dataset.
107
- supervised_keys=None,
108
- # Homepage of the dataset for documentation
109
- homepage=_HOMEPAGE,
110
- # License for the dataset if available
111
- # license=_LICENSE,
112
- # Citation for the dataset
113
- citation=_CITATION,
114
- )
115
-
116
- def _split_generators(self, dl_manager):
117
- """Returns SplitGenerators."""
118
- # TODO: This method is tasked with downloading/extracting the data and defining the splits depending on the configuration
119
- # If several configurations are possible (listed in BUILDER_CONFIGS), the configuration selected by the user is in self.config.name
120
- # dl_manager is a datasets.download.DownloadManager that can be used to download and extract URLs
121
- # It can accept any type or nested list/dict and will give back the same structure with the url replaced with path to local files.
122
- # By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
123
- data_dir = dl_manager.download_and_extract(_URL)
124
- return [datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"data_dir": data_dir})]
125
-
126
- def _generate_examples(self, data_dir):
127
- """Yields examples."""
128
- # TODO: This method will receive as arguments the `gen_kwargs` defined in the previous `_split_generators` method.
129
- # It is in charge of opening the given file and yielding (key, example) tuples from the dataset
130
- # The key is not important, it's more here for legacy reason (legacy from tfds)
131
- for fname in sorted(glob.glob(os.path.join(data_dir, "ArCOV-19-master/dataset/all_tweets/2020-*"))):
132
-
133
- df = pd.read_csv(fname, names=["tweetID"])
134
- for id_, record in df.iterrows():
135
-
136
- tweetID = record["tweetID"]
137
-
138
- yield str(id_), {"tweetID": tweetID}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ar_cov19/train/0000.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:60645126ea2da260d402619b47da2fe009da524be89842233a363f228a3bdd5d
3
+ size 46593048
dataset_infos.json DELETED
@@ -1 +0,0 @@
1
- {"ar_cov19": {"description": "ArCOV-19 is an Arabic COVID-19 Twitter dataset that covers the period from 27th of January till 30th of April 2020. ArCOV-19 is designed to enable research under several domains including natural language processing, information retrieval, and social computing, among others\n", "citation": "@article{haouari2020arcov19,\n title={ArCOV-19: The First Arabic COVID-19 Twitter Dataset with Propagation Networks},\n author={Fatima Haouari and Maram Hasanain and Reem Suwaileh and Tamer Elsayed},\n journal={arXiv preprint arXiv:2004.05861},\n year={2020}\n", "homepage": "https://gitlab.com/bigirqu/ArCOV-19", "license": "", "features": {"tweetID": {"dtype": "int64", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "builder_name": "ar_cov19", "config_name": "ar_cov19", "version": {"version_str": "1.0.0", "description": "", "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 8724728, "num_examples": 1090591, "dataset_name": "ar_cov19"}}, "download_checksums": {"https://gitlab.com/bigirqu/ArCOV-19/-/archive/master/ArCOV-19-master.zip": {"num_bytes": 54902390, "checksum": "96211408035f8082c072a5eb4fbccf28ef4de00379abfc9523c552ab84646579"}}, "download_size": 54902390, "post_processing_size": null, "dataset_size": 8724728, "size_in_bytes": 63627118}}