-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
1382 lines (1192 loc) Β· 65.9 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Hate Speech Annotation Guide</title>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap" rel="stylesheet">
<style>
:root {
--primary-blue: #0066FF;
--text-color: #333333;
--background-color: #F8F9FA;
--box-background-color: #FFFFFF;
--box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}
body {
font-family: 'Inter', sans-serif;
line-height: 1.6;
margin: 0;
padding: 0;
color: var(--text-color);
background-color: var(--background-color);
}
header {
background-color: var(--background-color);
padding: 1rem 2rem;
position: fixed;
width: 100%;
top: 0;
left: 0;
z-index: 1000;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
nav {
max-width: 1200px;
margin: 0 auto;
}
nav ul {
list-style-type: none;
padding: 0;
margin: 0;
display: flex;
justify-content: space-between;
align-items: center;
}
nav ul li {
margin: 0 10px;
}
nav ul li a {
color: var(--text-color);
text-decoration: none;
font-weight: 500;
padding: 0.5rem 1rem;
border-radius: 20px;
transition: color 0.3s;
}
nav ul li a:hover {
color: var(--primary-blue);
text-decoration: none;
}
main {
max-width: 1200px;
margin: 100px auto 0;
padding: 20px;
}
.box {
background-color: var(--box-background-color);
padding: 20px;
border-radius: 12px;
box-shadow: var(--box-shadow);
margin-bottom: 20px;
display: flex;
flex-direction: column;
justify-content: space-between;
min-height: 400px; /* Adjust the value as needed */
}
h2, h3 {
color: var(--text-color);
font-weight: 700;
margin-bottom: 0.5rem;
}
p {
margin-bottom: 1rem;
color: #555;
}
.button {
padding: 10px 20px;
background-color: var(--primary-blue);
color: white;
border: none;
border-radius: 30px;
font-size: 1rem;
text-align: center;
cursor: pointer;
transition: box-shadow 0.3s, transform 0.2s;
margin-top: 10px;
text-decoration: none;
}
.button:hover {
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
transform: translateY(-2px);
}
.grid-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
}
/* Initially hide all sections except home */
section {
display: none;
}
section.active {
display: block;
}
.example-image {
max-width: 100%;
height: auto;
margin-top: 20px;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* Custom highlight class */
.highlight {
background-color: rgba(0, 102, 255, 0.2); /* Lighter shade of blue with transparency */
color: #0066FF; /* Dark blue text color */
padding: 2px 4px;
border-radius: 4px;
font-weight: 500; /* Slightly bolder text */
}
.container {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 20px;
}
.box {
padding: 20px;
border: 1px solid #ccc;
border-radius: 5px;
}
#offensive-words {
grid-column: 2 / span 2;
text-align: center;
}
/* Group grid layout */
.group-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
margin-top: 20px;
}
/* Group card style */
.group-card {
background-color: #f9f9f9;
padding: 15px;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
text-align: center;
position: relative;
cursor: pointer;
}
.group-card h3 {
margin-bottom: 10px;
font-size: 1.2rem;
}
.group-card p {
font-size: 0.9rem;
color: #555;
}
.group-card:hover .example-overlay {
opacity: 1;
visibility: visible;
}
.group-card h3 {
margin-bottom: 10px;
font-size: 1.2rem;
}
.group-card p {
font-size: 0.9rem;
color: #555;
}
.example-overlay {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: rgba(0, 0, 0, 0.8);
color: #fff;
padding: 10px;
border-radius: 8px;
font-size: 0.9rem;
text-align: center;
visibility: hidden;
opacity: 0;
transition: opacity 0.3s ease, visibility 0.3s ease;
width: 80%;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
/* Style for the rule boxes */
.rule-box {
background-color: #f9f9f9; /* Light background */
padding: 15px;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
margin-bottom: 20px; /* Spacing between boxes */
}
.rule-box h3 {
margin-bottom: 10px;
color: var(--primary-blue);
font-size: 1.2rem;
}
.rule-box ul {
padding-left: 20px; /* Indent for list */
}
.rule-box li {
margin-bottom: 10px; /* Spacing between list items */
color: #555; /* Subtle text color */
}
/* Style for the offensive word list */
.offensive-word-list {
list-style-type: none;
padding-left: 0;
margin-top: 20px;
}
.offensive-word-list li {
margin-bottom: 15px;
font-size: 1rem;
}
/* Highlight style for offensive words */
.highlight-offensive {
background-color: #FF6347; /* Use a red or orange color for offensive words */
color: white;
padding: 2px 4px;
border-radius: 4px;
}
.hate-annotation {
position: relative;
display: inline-block;
padding: 2px 4px;
margin: 0 2px;
border-radius: 3px;
background-color: rgba(255, 255, 0, 0.3); /* Light yellow highlight */
transition: background-color 0.3s ease;
}
.hate-annotation::after {
content: attr(data-label);
position: absolute;
top: -20px;
left: 50%;
transform: translateX(-50%);
background-color: #888888;
color: white;
font-size: 10px;
padding: 2px 4px;
border-radius: 3px;
white-space: nowrap;
opacity: 0;
transition: opacity 0.3s ease;
}
.hate-annotation:hover {
background-color: rgba(255, 255, 0, 0.5); /* Slightly darker yellow on hover */
}
.hate-annotation:hover::after {
opacity: 1;
}
/* Container for the entire example section */
.example-section {
display: grid;
grid-template-columns: 1fr 1fr; /* Two equal columns */
gap: 20px; /* Space between columns */
margin: 20px 0; /* Space around the section */
}
/* Styling for the correct examples */
.correct-examples {
background-color: #E6FFE6; /* Light green background for correct examples */
padding: 20px;
border-radius: 5px; /* Slightly rounded corners */
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for better visualization */
}
.correct-examples h3 {
color: #008000; /* Darker green for the title */
}
/* Styling for the wrong examples */
.wrong-examples {
background-color: #FFE6E6; /* Light red background for wrong examples */
padding: 20px;
border-radius: 5px; /* Slightly rounded corners */
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for better visualization */
}
.wrong-examples h3 {
color: #FF0000; /* Darker red for the title */
}
/* Inline styles for the annotations */
.hate-annotation {
position: relative;
display: inline-block;
padding: 0 5px;
}
.example-buttons-container {
position: sticky;
top: 60px; /* Adjust this value based on your header height */
background-color: #ffffff;
z-index: 1000;
padding: 10px 0;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.example-buttons {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 10px;
}
.example-buttons button {
background-color: #f0f0f0;
border: none;
padding: 10px 15px;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease;
}
.example-buttons button:hover {
background-color: #e0e0e0;
}
.example-buttons button:focus {
outline: none;
box-shadow: 0 0 0 2px rgba(0, 102, 255, 0.5);
}
.back-to-top-container {
display: flex;
justify-content: center;
margin-top: 20px;
}
.back-to-top {
background-color: #ffffff;
color: #333333;
border: 1px solid #e0e0e0;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
transition: all 0.3s ease;
font-weight: 500;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.back-to-top:hover {
background-color: #f8f8f8;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
@media (max-width: 768px) {
.example-buttons {
flex-direction: column;
}
}
#back-to-top {
display: block;
margin: 20px auto;
background-color: var(--primary-blue);
color: white;
border: none;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
}
#back-to-top:hover {
background-color: #0052cc;
}
.example-box {
padding-top: 80px; /* Adjust this value to ensure enough space at the top */
margin-top: -80px; /* Negative margin to offset the padding */
}
.back-to-top {
display: block;
margin: 20px auto;
background-color: var(--primary-blue);
color: white;
border: none;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
}
.back-to-top:hover {
background-color: #0052cc;
}
.example-section ul {
padding-left: 20px;
}
.example-section li {
margin-bottom: 20px;
}
.example-section {
display: flex;
justify-content: space-between;
}
.correct-examples, .wrong-examples {
width: 48%;
}
.toggle-container {
text-align: right;
margin-top: 15px;
margin-bottom: 10px;
}
.toggle-reasoning {
color: #0066FF;
text-decoration: none;
font-size: 0.9em;
}
.toggle-reasoning:hover {
text-decoration: underline;
}
.reasoning {
background-color: #f9f9f9;
padding: 10px;
border-left: 3px solid #0066FF;
margin-top: 10px;
font-size: 0.9em;
}
.toggle-container {
text-align: right;
margin-top: 15px;
margin-bottom: 10px;
}
.toggle-reasoning {
color: #0066FF;
text-decoration: none;
font-size: 0.9em;
}
.toggle-reasoning:hover {
text-decoration: underline;
}
.reasoning ul {
margin-top: 5px;
padding-left: 20px;
}
.reasoning li {
margin-bottom: 5px;
}
.instructions-box {
background-color: #f0f8ff;
border-left: 4px solid #0066cc;
padding: 15px;
margin-bottom: 20px;
border-radius: 0 5px 5px 0;
}
.instructions-box h3 {
color: #0066cc;
margin-top: 0;
}
.instruction-item {
display: flex;
align-items: center;
margin-bottom: 10px;
}
.instruction-item .icon {
font-size: 24px;
margin-right: 10px;
}
.instruction-item p {
margin: 0;
}
.instruction-toggle-reasoning {
color: #0066cc;
text-decoration: none;
font-weight: bold;
cursor: pointer;
}
.instruction-reasoning {
background-color: #f5f5f5;
border: 1px solid #e0e0e0;
padding: 10px;
margin-top: 10px;
border-radius: 5px;
font-size: 0.9em;
}
.instruction-item .icon {
margin-right: 10px;
font-size: 1.2em;
}
</style>
</head>
<body>
<header>
<nav>
<ul>
<li><a href="#" onclick="showSection('home')">Home</a></li>
<li><a href="#" onclick="showSection('general-rules')">General Rules</a></li>
<li><a href="#" onclick="showSection('target-groups')">Group Mention</a></li>
<li><a href="#" onclick="showSection('offensive-denomination')">Offensive Denominations</a></li>
<li><a href="#" onclick="showSection('intent')">Hate Speech Intent</a></li>
<li><a href="#" onclick="showSection('offensive-words')">Offensive Words</a></li>
<li><a href="#" onclick="showSection('examples')">Examples</a></li> <!-- New Examples menu link -->
</ul>
</nav>
</header>
<main>
<!-- Introduction Section -->
<section id="home" class="active">
<h2>Welcome to the Hate Speech Annotation Guide</h2>
<br>
<div class="box">
<h3>Introduction</h3>
<p> <span class="highlight">Hate speech</span> is any form of expression that incites hatred or violence against a group based on characteristics like <span class="highlight">ethnicity</span>, <span class="highlight">disability </span> , <span class="highlight">religion</span>, <span class="highlight">gender</span>, <span class="highlight">working class</span> , <span class="highlight">idelogical group</span> , or <span class="highlight">sexual orientation</span>. </p>
<p> It can be <span class="highlight">explicit</span> (direct insults or threats) or <span class="highlight">implicit</span> (coded language or stereotypes). </p>
<p> This project aims to create the first <span class="highlight">token-level</span> annotated corpus identifying instances of hate speech focused on specific groups.</p>
<p> The dataset generated from this guide will be used for enhancing <span class="highlight">Named Entity Recognition (NER)</span> models for detecting <span class="highlight">hate speech</span>, extending beyond traditional detection methods annotating <span class="highlight">group mentions</span> , <span class="highlight">offensive denominations</span>, <span class="highlight">offensive words</span> and <span class="highlight-offensive">hate speech intent</span>.</p>
<p> This <span class="highlight">token-level</span> annotation approach provides <span class="highlight">deeper insights</span> into the context and specific targets of <span class="highlight-offensive">hate speech</span>. </p>
<p> Finally, the dataset and the resulting <span class="highlight">NER model</span> will increase <span class="highlight">explainability</span>, helping users understand the detailed <span class="highlight">decision-making</span> process behind <span class="highlight">content moderation</span>.</p>
<br>
</div>
<div class="box">
<h3>Annotation Process Overview</h3>
<div style="text-align: center">
<img src="images/curation_process.png" style="width: 50%;">
</div>
<li><strong>LLM Pre-annotation:</strong> Data is pre-processed using a Language Model (LLM) to <span class="highlight-offensive">highlight potential hate speech</span> in a text.<br></li>
<li> <strong>Data curation:</strong> Your role will consist of reviewing <span class="highlight">text span annotations</span> made by the LLM.<br> </li>
<br>
</div>
<div class="box">
<h3>Named Entity Recognition Task Description</h3>
<div style="text-align: center">
<img src="images/ner4.gif" alt="NER Annotation Platform Example" class="example-image" style="width: 50%;">
</div>
<p> This tasks consists on tagging different elements of text, such as <span class="highlight">group mentions</span>, <span class="highlight">offensive denomination</span> , <span class="highlight">offensive words</span>, and <span class="highlight">hate speech intent</span>.</p>
<p> The fundamental premise for all annotation rules in is to annotate the <span class="highlight">shortest</span> and <span class="highlight">most general expression possible</span>, ensuring that the entity is <span class="highlight">fully described</span>. In this sense, <span class="highlight">modifying words</span> should be excluded. </p>
<br>
<p> This guide helps annotators identify and annotate <span class="highlight">explicit</span> and <span class="highlight">implicit</span> forms of hate speech, focusing on: </p>
<ul>
<li> <strong>General Rules:</strong> Positive and negative rules for all mention labels.</li>
<li> <strong>Group Mention:</strong> Identify mentions of specific groups (e.g., races, ethnicities, religions).</li>
<li> <strong>Offensive Denomination:</strong> Annotate slurs, derogatory terms, or offensive names for individuals or groups.</li>
<li> <strong>Hate Speech Intent:</strong> Evaluate the intent behind statements, including derogation, threats , hatecrime, comparison and animosity.</li>
<li> <strong>Offensive Words:</strong> Tag offensive words, including insults, threats, or calls for violence.</li>
</ul>
You can access further definitions and detailed examples for each token-level annotation group in the navigation menu above.
</div>
</section>
<!-- General Rules Section -->
<section id="general-rules">
<div class="box">
<h2>General Rules</h2>
<p><strong>Positive</strong>, <strong>negative</strong>, and <strong>multi-word</strong> rules that apply to all mention labels, including general spelling rules. Also some acronym and hashtag examples that in some cases can be confusing. </p>
<p> <strong>NOTE: </strong> If there is doubt it is allowed to search the web, for example the meaning of acronyms or unknown words.</p>
<!-- Positive Rules Box -->
<div class="rule-box">
<h3>Positive Rules</h3>
<p>Rules specifying the entities that should be annotated:</p>
<ul>
<li>Every mention to groups in the following categories: ethnicity, religion, sexual orientation, gender, disability, intersectional. These labels will start with the prefix <strong>G</strong>.</li>
<li>Every offensive mention to groups in the preceding categories. These labels will start with the prefix <strong>I</strong>.</li>
<li>Every offensive/insulting word.</li>
<li>Every attack intent in the following categories: dehumanization, derogation, animosity, threatening, pro-hate.</li>
<li>There can be more than one entity in a single sentence.</li>
<li>There can be annotations inside annotations (e.g., a group mentioned inside an intent).</li>
<li>Words containing orthographic errors or typos should be annotated as well.</li>
</ul>
</div>
<!-- Negative Rules Box -->
<div class="rule-box">
<h3>Negative Rules</h3>
<p>Rules specifying the entities that should <strong>not</strong> be annotated:</p>
<ul>
<li>Group mentions and offensive denominations are exclusive (e.g white killers is an offensive denomination and "white" alone is not labeled.)</li>
<li>The context or location should not be tagged if it is not necessary (e.g "Mcdonalds" or "New York" should not be tagged if it do not add additional information to the attack)</li>
<li>Negative connotative adjectives (e.g., "you are so lazy").</li>
<li>Words that are implicit attacks in context but not out of context (e.g., "parasite" used in "These dishes are full of parasites").</li>
</ul>
</div>
<!-- Multi-word Rules Box -->
<div class="rule-box">
<h3>Multi-word Rules</h3>
<p>Rules specifying whether a group of words should be annotated under a single label:</p>
<ul>
<li>Both groups, attacks, and offensive mentions can be composed of multi-words (n-grams).</li>
</ul>
</div>
<!-- Acronym Rules Box -->
<div class="rule-box">
<h3>Some relevant Acronyms</h3>
<p>Acronyms that can be relevant to consider in case of doubt:</p>
<ul>
<li><strong>#BLM</strong> "Black Lives Matter" is used to highlight racism, inequality, and discrimination experienced by Black people. </li>
<li><strong>#WPWW</strong> "White Pride Worldwide". Should be annotated as ethnicity. </li>
<li><strong>#HMM</strong> "Hardly Much More." It is frequently employed to convey doubt, scepticism, or introspection.</li>
<li><strong>Sharia</strong> is a set of Islamic laws and religious principles that guide Muslims in their daily lives.</li>
<li><strong>LOL</strong> "Laughing Out Loud" , similar to "jajaja" or "hahaha"</li>
<li><strong>KWANZAA</strong> afroamerican party or festivity. </li>
</ul>
</div>
</div>
</section>
<!-- Group Mentions Section -->
<section id="target-groups">
<div class="box">
<h2>Group Mentions</h2>
<p>Identify mentions of specific groups. Both direct and implied mentions should be annotated.</p>
<p>The groups are as follows:</p>
<!-- Grid layout for group mentions -->
<div class="grid-container group-grid">
<!-- Ethnicity Card -->
<div class="group-card">
<h3><span class="highlight">G-Ethnicity</span></h3>
<p>Mentions of ethnic groups such as Latino or Black in a neutral way, focusing on the designation without introducing any negative implications.</p>
<div class="example-overlay"> <strong><strong>Example:</strong></strong> "The community center serves a diverse population including <span class="highlight">Latinos</span> and <span class="highlight">Blacks</span>."</div>
</div>
<!-- Religion Card -->
<div class="group-card">
<h3><span class="highlight">G-Religion</span></h3>
<p>References to religions such as Judaism or Christianity that merely identify the group without derogatory context.</p>
<div class="example-overlay"><strong>Example:</strong> "The charity event was attended by <span class="highlight">Jewish</span> and <span class="highlight">Christian</span> community leaders."</div>
</div>
<!-- Gender Card -->
<div class="group-card">
<h3><span class="highlight">G-Gender</span></h3>
<p>Mentions of gender where the reference is purely descriptive and devoid of any judgment.</p>
<div class="example-overlay"><strong>Example:</strong> "The survey included participants of various genders, including <span class="highlight">male</span>, <span class="highlight">female</span>, and <span class="highlight">non-binary</span>."</div>
</div>
<!-- Sexual Orientation Card -->
<div class="group-card">
<h3><span class="highlight">G-Sexual Orientation</span></h3>
<p>Mentions of sexual orientation that state this characteristic without negative connotations.</p>
<div class="example-overlay"><strong>Example:</strong> "The support group welcomes members who identify as <span class="highlight">gay</span>, <span class="highlight">straight</span>, or <span class="highlight">bisexual</span>."</div>
</div>
<!-- Disability Card -->
<div class="group-card">
<h3><span class="highlight">G-Disability</span></h3>
<p>References to disabilities in a factual manner, ensuring the mention is respectful and non-pejorative.</p>
<div class="example-overlay"><strong>Example:</strong> "Facilities have been updated to accommodate individuals with <span class="highlight">physical disabilities</span>."</div>
</div>
<!-- Working Class Card -->
<div class="group-card">
<h3><span class="highlight">G-Working Class</span></h3>
<p>Mentions of socio-economic groups classified under the term 'working class' in a neutral way.</p>
<div class="example-overlay"><strong>Example:</strong> "The union meeting was primarily attended by individuals from the <span class="highlight">working class</span>, discussing their rights and future."</div>
</div>
<!-- Ideological Group Card -->
<div class="group-card">
<h3><span class="highlight">G-Ideological Group</span></h3>
<p>References to political or ideological groups without portraying them in a derogatory context.</p>
<div class="example-overlay"><strong>Example:</strong> "The debate featured speakers from diverse ideological backgrounds, including <span class="highlight">communists</span>, <span class="highlight">nazis</span>, and <span class="highlight">fascists</span>."</div>
</div>
<!-- Intersectional Card -->
<div class="group-card">
<h3><span class="highlight">G-Intersectional</span></h3>
<p>Instances where multiple group identities are mentioned together in a non-offensive manner.</p>
<div class="example-overlay"><strong>Example:</strong> "The workshop highlighted issues faced by <span class="highlight">Black women</span> in tech industries."</div>
</div>
</div>
</div>
</section>
<!-- Offensive Denominations Section -->
<section id="offensive-denomination">
<div class="box">
<h2>Offensive Denominations</h2>
<p>Annotate any slurs, derogatory terms, or offensive names used to describe individuals or groups.</p>
<!-- Grid layout for offensive denomination categories -->
<div class="grid-container group-grid">
<!-- Ethnicity Card -->
<div class="group-card">
<h3><span class="highlight">OD-Ethnicity</span></h3>
<p>Terms that derogate ethnic backgrounds through negative stereotypes or slurs.</p>
<div class="example-overlay"><strong>Example:</strong> "The term <span class="highlight">nigger</span> is an offensive denomination towards Black people."</div>
</div>
<!-- Religion Card -->
<div class="group-card">
<h3><span class="highlight">OD-Religion</span></h3>
<p>Terms used pejoratively to describe religious affiliations.</p>
<div class="example-overlay"><strong>Example:</strong> "Using <span class="highlight">zealot</span> pejoratively can derogate an individual's religious fervor."</div>
</div>
<!-- Gender Card -->
<div class="group-card">
<h3><span class="highlight">OD-Gender</span></h3>
<p>Derogatory terms that malign or stereotype gender identities.</p>
<div class="example-overlay"><strong>Example:</strong> "Calling a woman <span class="highlight">hysterical woman</span> often carries sexist connotations"</div>
</div>
<!-- Sexual Orientation Card -->
<div class="group-card">
<h3><span class="highlight">OD-Sexual Orientation</span></h3>
<p>Slurs that negatively target individuals based on their sexual orientation.</p>
<div class="example-overlay"><strong>Example:</strong> "The slur <span class="highlight">dyke</span> has been historically used to insult lesbian women."</div>
</div>
<!-- Disability Card -->
<div class="group-card">
<h3><span class="highlight">OD-Disability</span></h3>
<p>Terms that derogatively refer to someone's physical or mental disabilities.</p>
<div class="example-overlay"><strong>Example:</strong> "Using <span class="highlight">cripple</span> as an insult is highly disrespectful and offensive."</div>
</div>
<!-- Working Class Card -->
<div class="group-card">
<h3><span class="highlight">OD-Working Class</span></h3>
<p>Derogatory terms that demean socioeconomic status or class background.</p>
<div class="example-overlay"><strong>Example:</strong> "Calling someone <span class="highlight">trailer trash</span> is an offensive denomination that stereotypes individuals from lower economic classes."</div>
</div>
<!-- Ideological Group Card -->
<div class="group-card">
<h3><span class="highlight">OD-Ideological Group</span></h3>
<p>Terms used pejoratively to describe political or ideological groups.</p>
<div class="example-overlay"><strong>Example:</strong> "Terms like <span class="highlight">commie</span> for communists or <span class="highlight">fascist</span> used inappropriately can derogate individuals based on their political beliefs."</div>
</div>
<!-- Intersectional Card -->
<div class="group-card">
<h3><span class="highlight">OD-Intersectional</span></h3>
<p>Derogatory terms that target multiple identity factors simultaneously.</p>
<div class="example-overlay"><strong>Example:</strong> "Using <span class="highlight">welfare queen</span> can be an offensive denomination that combines stereotypes of race, gender, and economic status."</div>
</div>
</div>
</div>
</section>
<!-- Intent Section -->
<section id="intent">
<div class="box">
<h2>Hate Speech Intent</h2>
<p>Evaluate the hate speech intent behind the statement:</p>
<!-- Grid layout for hate speech intent categories -->
<div class="grid-container group-grid">
<!-- Dehumanization or Comparison Card -->
<div class="group-card">
<h3><span class="highlight">Dehumanization or Comparison</span></h3>
<p>Content that likens individuals or groups to non-human entities, thereby stripping them of humanity.</p>
<div class="example-overlay"><strong>Example:</strong> "Immigrants <span class="highlight">are parasites</span>."</div>
</div>
<!-- Threatening Language Card -->
<div class="group-card">
<h3><span class="highlight">Threatening Language</span></h3>
<p>Statements that threaten or imply violence towards specific groups.</p>
<div class="example-overlay"><strong>Example:</strong> "Women <span class="highlight">should be shot</span>. Agree!."</div>
</div>
<!-- Derogation Card -->
<div class="group-card">
<h3><span class="highlight">Derogation</span></h3>
<p>Explicit language that demeans, demonizes, or insults groups based on inherent traits.</p>
<div class="example-overlay"><strong>Example:</strong> "Truly, I have been to Poland and there is nothing to see there. <span class="highlight">Polish people are so nasty</span> as well"</div>
</div>
<!-- Animosity Card -->
<div class="group-card">
<h3><span class="highlight">Animosity</span></h3>
<p>Subtle or covert expressions of hostility that may not be overtly aggressive but still convey prejudice.</p>
<div class="example-overlay"><strong>Example:</strong> "I <span class="highlight">don't want to be close to a breastfeeding woman</span>."</div>
</div>
<!-- Hate Crime Card -->
<div class="group-card">
<h3><span class="highlight">Hate Crime</span></h3>
<p>Endorsements or justifications of hate crimes and hateful ideologies.</p>
<div class="example-overlay"><strong>Example:</strong> " <span class="highlight">Hitler was right all along</span>. We are witnessing this at home everyday."</div>
</div>
</div>
</div>
</section>
<!-- Offensive Words Section -->
<section id="offensive-words">
<div class="box">
<h2>Offensive Words</h2>
<p>
Tag offensive words, including insults, threats, or calls for violence. The words needs to be tagged depending on the context it appears.
</p>
<div class="grid-container group-grid">
<div class="group-card">
"You're such an <span class="highlight-offensive">idiot</span>"
</div>
<div class="group-card">
"That guy is a complete <span class="highlight-offensive">moron</span>."
</div>
<div class="group-card">
"Go back to where you came from, <span class="highlight-offensive">slur</span>."
</div>
<div class="group-card">
"You're nothing but a <span class="highlight-offensive">loser</span>."
</div>
<div class="group-card">
"What a <span class="highlight-offensive">pathetic</span> excuse for a human being."
</div>
<div class="group-card">
"You're a <span class="highlight-offensive">worthless</span> piece of trash."
</div>
<div class="group-card">
"Everyone knows you're a <span class="highlight-offensive">failure</span>."
</div>
<div class="group-card">
"You're a walking <span class="highlight-offensive">disaster</span>."
</div>
<div class="group-card">
"They are nothing but a bunch of <span class="highlight-offensive">scumbags</span>."
</div>
<div class="group-card">
"Why don't you just <span class="highlight-offensive">shut up</span> and disappear?"
</div>
<div class="group-card">
"You're a <span class="highlight-offensive">coward</span> and always will be."
</div>
<div class="group-card">
"You're a <span class="highlight-offensive">nobody</span>, no one cares about you."
</div>
</div>
</div>
</section>
<!-- Examples Section -->
<section id="examples">
<h2>Examples</h2>
<div class="instructions-box">
<h3>How to Use This Section</h3>
<div class="instruction-item">
<span class="icon">π±οΈ</span>
<p>Hover over <span class="hate-annotation" data-label="CATEGORY">highlighted words</span> to see their assigned category.</p>
</div>
<div class="instruction-item">
<span class="icon">ποΈ</span>
<p>Click <a href="#" class="instruction-toggle-reasoning" onclick="toggleInstructionReasoning(); return false;">"Show reasoning"</a> to explore the rationale behind correct and incorrect annotations.</p>
</div>
<div id="instruction-reasoning" class="instruction-reasoning" style="display: none;">
This is where you'll see the reasoning for annotations.
</div>
<div class="instruction-item">
<span class="icon">π</span>
<p>Click on the <button onclick="scrollToExampleSection('general-rules-examples')">Subsection Buttons</button> below to scroll down to examples of each subgroup.</p>
</div>
</div>
<div class="example-buttons-container">
<div class="example-buttons">
<button onclick="scrollToExampleSection('general-rules-examples')">π General Rules</button>
<button onclick="scrollToExampleSection('group-mention-examples')">π₯ Group Mention v/s π« Offensive Denomination </button>
<button onclick="scrollToExampleSection('hate-speech-intent-examples')">π’ Hate Speech Intent</button>
<button onclick="scrollToExampleSection('nested-entities-examples')">π Nested Entities</button>
</div>
</div>
<div id="general-rules-examples" class="box example-box toggle-section">
<h3>π General Rules</h3>
<div class="example-section">
<div class="correct-examples">
<h4>Correct Examples</h4>
<ul>
<li>
<p>"After charlotesville do defenders know about <span class="hate-annotation" data-label="G-ETHNICITY">white people</span> ?"</p>
<p>"Rashard Wright is an <span class="hate-annotation" data-label="I-ETHNICITY">antiwhite extremist</span> at #wearebschools he actively promotes"</p>
<div class="reasoning" style="display: none;">
<strong>Reasoning:</strong>
<ul>
<li>The span should include only the relevant word without punctuation or special characters.</li>
<li>The full phrase "white people" is labeled, not just "white".</li>
</ul>
</div>
</li>
<li>
<p>"ATF , it's good though but unfortunately <span class="hate-annotation" data-label="I-DISSABILITY">nacisssistic sociopaths</span> do not change"</p>
<div class="reasoning" style="display: none;">
<strong>Reasoning:</strong>
<ul>
<li>The full phrase "narcisissistic sociopath" is labeled.</li>
<li>This captures the complete group mention without ambiguity.</li>