5roop commited on
Commit
5d8e1f2
1 Parent(s): 5e73cc2

Added metadata

Browse files
Files changed (1) hide show
  1. README.md +27 -11
README.md CHANGED
@@ -1,24 +1,37 @@
1
  ---
2
  languages:
3
  - hr
4
-
5
  licenses:
6
  - CLARIN.SI Licence ACA ID-BY-NC-INF-NORED 1.0
7
-
8
  task_categories:
9
  - text-classification
10
-
 
 
 
 
11
  ---
12
 
13
- # Offensive language dataset of Croatian, English and Slovenian comments FRENK 1.0
 
 
 
 
14
 
15
- The original FRENK dataset consists of comments to Facebook posts (news articles) of mainstream media outlets from Croatia, Great Britain, and Slovenia, on the topics of migrants and LGBT. The dataset contains whole discussion threads. Each comment is annotated by the type of socially unacceptable discourse (e.g., inappropriate, offensive, violent speech) and its target (e.g., migrants/LGBT, commenters, media). The annotation schema is described in detail in [https://arxiv.org/pdf/1906.02045.pdf]. Usernames in the metadata are pseudo-anonymised and removed from the comments.
 
 
 
16
 
17
- The data in each language (Croatian (hr), English (en), Slovenian (sl), and topic (migrants, LGBT) is divided into a training and a testing portion. The training and testing data consist of separate discussion threads, i.e., there is no cross-discussion-thread contamination between training and testing data. The sizes of the splits are the following: Croatian, migrants: 4356 training comments, 978 testing comments; Croatian LGBT: 4494 training comments, 1142 comments; English, migrants: 4540 training comments, 1285 testing comments; English, LGBT: 4819 training comments, 1017 testing comments; Slovenian, migrants: 5145 training comments, 1277 testing comments; Slovenian, LGBT: 2842 training comments, 900 testing comments.
18
 
19
- For this dataset only the Croatian data was used. Training segment has been split into beginning 90% (published here as training split) and end 10% (published here as dev split).
 
 
20
 
21
- # Usage in `Transformers`
 
 
22
 
23
  ```python
24
  import datasets
@@ -53,14 +66,15 @@ _CLASS_MAP_MULTICLASS = {
53
  }
54
  ```
55
 
56
- # Data structure
 
57
 
58
  * `text`: text
59
  * `target`: who is the target of the hate-speech text ("no target", "commenter", "target" (migrants or LGBT, depending on the topic), or "related to" (again, the topic))
60
  * `topic`: whether the text relates to lgbt or migrants hate-speech domains
61
  * `label`: label of the text instance, see above.
62
 
63
- # Data instance
64
 
65
  ```
66
  {'text': 'Potpisujem komentar g ankice pavicic',
@@ -69,6 +83,7 @@ _CLASS_MAP_MULTICLASS = {
69
  'label': 0}
70
  ```
71
 
 
72
 
73
  When using this dataset please cite the following paper:
74
 
@@ -85,6 +100,7 @@ When using this dataset please cite the following paper:
85
  ```
86
 
87
  The original dataset can be cited as
 
88
  ```
89
  @misc{11356/1433,
90
  title = {Offensive language dataset of Croatian, English and Slovenian comments {FRENK} 1.0},
@@ -93,4 +109,4 @@ The original dataset can be cited as
93
  note = {Slovenian language resource repository {CLARIN}.{SI}},
94
  copyright = {{CLARIN}.{SI} Licence {ACA} {ID}-{BY}-{NC}-{INF}-{NORED} 1.0},
95
  year = {2021} }
96
- ```
 
1
  ---
2
  languages:
3
  - hr
 
4
  licenses:
5
  - CLARIN.SI Licence ACA ID-BY-NC-INF-NORED 1.0
 
6
  task_categories:
7
  - text-classification
8
+ task_ids:
9
+ - text-classification-other-hate-speech-detection
10
+ - text-classification-other-offensive-languag
11
+ size_categories:
12
+ - 1K<n<10K
13
  ---
14
 
15
+ # Offensive language dataset of Croatian comments FRENK 1.0
16
+
17
+ Croatian subset of the [FRENK dataset](http://hdl.handle.net/11356/1433). Also available on HuggingFace dataset hub: [English subset](https://huggingface.co/datasets/5roop/FRENK-hate-en), [Slovenian subset](https://huggingface.co/datasets/5roop/FRENK-hate-sl).
18
+
19
+ ## Dataset Description
20
 
21
+ - **Homepage:** http://hdl.handle.net/11356/1433
22
+ - **Repository:** http://hdl.handle.net/11356/1433
23
+ - **Paper:** https://arxiv.org/abs/1906.02045
24
+ - **Project page** https://nl.ijs.si/frenk/
25
 
26
+ ## Description of the original dataset
27
 
28
+ >The original FRENK dataset consists of comments to Facebook posts (news articles) of mainstream media outlets from Croatia, Great Britain, and Slovenia, on the topics of migrants and LGBT. The dataset contains whole discussion threads. Each comment is annotated by the type of socially unacceptable discourse (e.g., inappropriate, offensive, violent speech) and its target (e.g., migrants/LGBT, commenters, media). The annotation schema is described in detail in [https://arxiv.org/pdf/1906.02045.pdf]. Usernames in the metadata are pseudo-anonymised and removed from the comments.
29
+ >
30
+ >The data in each language (Croatian (hr), English (en), Slovenian (sl), and topic (migrants, LGBT) is divided into a training and a testing portion. The training and testing data consist of separate discussion threads, i.e., there is no cross-discussion-thread contamination between training and testing data. The sizes of the splits are the following: Croatian, migrants: 4356 training comments, 978 testing comments; Croatian LGBT: 4494 training comments, 1142 comments; English, migrants: 4540 training comments, 1285 testing comments; English, LGBT: 4819 training comments, 1017 testing comments; Slovenian, migrants: 5145 training comments, 1277 testing comments; Slovenian, LGBT: 2842 training comments, 900 testing comments.
31
 
32
+ For this dataset only the Croatian data was used. Training segment has been split into beginning 90% (published here as training split) and end 10% (published here as dev split). Test segment has been preserved in its original form.
33
+
34
+ ## Usage in `Transformers`
35
 
36
  ```python
37
  import datasets
 
66
  }
67
  ```
68
 
69
+
70
+ ## Data structure
71
 
72
  * `text`: text
73
  * `target`: who is the target of the hate-speech text ("no target", "commenter", "target" (migrants or LGBT, depending on the topic), or "related to" (again, the topic))
74
  * `topic`: whether the text relates to lgbt or migrants hate-speech domains
75
  * `label`: label of the text instance, see above.
76
 
77
+ ## Data instance
78
 
79
  ```
80
  {'text': 'Potpisujem komentar g ankice pavicic',
 
83
  'label': 0}
84
  ```
85
 
86
+ ## Citation information
87
 
88
  When using this dataset please cite the following paper:
89
 
 
100
  ```
101
 
102
  The original dataset can be cited as
103
+
104
  ```
105
  @misc{11356/1433,
106
  title = {Offensive language dataset of Croatian, English and Slovenian comments {FRENK} 1.0},
 
109
  note = {Slovenian language resource repository {CLARIN}.{SI}},
110
  copyright = {{CLARIN}.{SI} Licence {ACA} {ID}-{BY}-{NC}-{INF}-{NORED} 1.0},
111
  year = {2021} }
112
+ ```