---
title: "Hate speech detection in the Arabic language: corpus design,"
description: "How the Jordanian Hate Speech Corpus was collected and annotated, what its Arabic classifiers achieved, and where the evidence is limited."
canonical: "https://research.elamur.ai/free/en/papers/ahmad-2024-hate-speech-detection-arabic-language/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/ahmad-2024-hate-speech-detection-arabic-language/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2024](https://md.research.elamur.ai/free/en/papers/2024/) / Hate speech detection in the Arabic language: corpus design, construction, and evaluation

# Hate speech detection in the Arabic language: corpus design, construction, and evaluation

Paper · 2024 · Ashraf Ahmad, Mohammad Azzeh, Eman Alnagi et al.

**Authors:** Ashraf Ahmad, Mohammad Azzeh, Eman Alnagi, Qasem S. Abu Al-Haija, Dana Halabi, Abdullah Aref and Yousef AbuHour · **Year:** 2024 · **Venue:** Frontiers in Artificial Intelligence · **Licence:** [CC BY (OpenAlex best open-access location)](https://creativecommons.org/licenses/by/4.0/)

[**25** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W4391970070) · [Frontiers in Artificial Intelligence](https://openalex.org/S4210197006) · [licence](https://creativecommons.org/licenses/by/4.0/)

- [PDF](https://www.frontiersin.org/articles/10.3389/frai.2024.1345445/pdf?isPublishedV2=False)
- [DOI 10.3389/frai.2024.1345445](https://doi.org/10.3389/frai.2024.1345445)
- [OpenAlex](https://openalex.org/W4391970070)

Citations: OpenAlex, 2026-10-14.

## What it is about

How the Jordanian Hate Speech Corpus was collected and annotated, what its Arabic classifiers achieved, and where the evidence is limited. · about 38 minutes to read

**In this deep dive**

1. [Summary](#dd-summary)
2. [Ideas worth borrowing](#dd-ideas-worth-borrowing)
3. [How Mova uses it](#dd-how-mova-uses-it)
4. [The problem and its context](#dd-the-problem-and-its-context)
5. [The method, step by step](#dd-the-method-step-by-step)
6. [Experiments and results](#dd-experiments-and-results)
7. [What the ablations show](#dd-what-the-ablations-show)
8. [Limitations](#dd-limitations)
9. [What came after](#dd-what-came-after)

### Summary

Detecting harmful language requires more than finding an insulting word. A message can contain a potentially offensive expression without attacking anyone, while the difference between an insult and group-directed hatred depends on its target and context. These distinctions become harder when the language varies across regions and appears in informal spelling. Ashraf Ahmad and colleagues address this problem by constructing the Jordanian Hate Speech Corpus, or JHSC, and testing several approaches to [text classification](https://md.research.elamur.ai/free/en/concepts/text-classification/) on it. Their principal contribution is a substantial collection of annotated tweets associated with Jordan, accompanied by an account of collection, cleaning, annotation, and predictive evaluation.

The collection begins with 2,034,005 tweets gathered through Arabic-language searches and location filters covering Jordan. The collection period extends from 2014 to 2022. Cleaning leaves 1,824,220 tweets. The authors then use an existing lexicon containing 357 potentially hateful or offensive terms to identify a smaller collection for manual review. That selection contains 557,551 tweets, of which 403,688 had received annotations when the paper was written. The classification scheme distinguishes supportive content, ordinary non-offensive content, offensive language without hateful content, and hateful content directed at a group. Its names require care: Table 5 calls these categories negative, neutral, positive, and very positive, respectively. Accordingly, “positive” does not mean approval or friendliness in the classification results.

Annotation involves native speakers of Jordanian Arabic, expert guidance, training examples, independent practice, discussion, and continuing meetings. On a sample of 500 tweets reviewed by three annotators, Fleiss’ kappa is 0.60, which the authors describe as moderate agreement. They evaluate classifiers using a 70% training partition and a 30% test partition. Word2Vec representations generally outperform TF-IDF across the conventional classifiers. CatBoost with Word2Vec obtains weighted F1 of 0.50 and accuracy of 0.51. Fine-tuned Arabic transformers perform better overall: the reported aggregate F1 values are 0.6 for AraBERT, 0.6 for CamelBERT, and 0.61 for MARBERT. The corresponding accuracy values are 0.62, 0.61, and 0.6.

Those aggregate results coexist with a much weaker outcome for the category closest to the paper’s central concern: very positive, meaning group-directed hateful content in Table 5. Conventional classifiers largely fail to retrieve that category, and the transformer results remain limited. CamelBERT reaches recall of 0.19 and F1 of 0.27 for it. The paper therefore offers both a reusable resource and a difficult benchmark. Its experiments show that the annotations support some learnable distinctions, but they do not establish reliable detection of the rare hateful category, generalization beyond the selected tweets, or readiness for consequential moderation decisions. The authors identify broader dialect coverage, contextual interpretation, and fairness as directions for further work.

### Ideas worth borrowing

Treat collection as part of the experiment. The authors organize retrieval by language, location, and month instead of treating a downloaded collection as an unexplained starting point. This makes the intended population more visible and exposes the conditions under which examples enter the dataset. The same principle applies to regional terminology, educational material, customer feedback, and other collections where apparently broad coverage may actually depend on narrow search choices. A classifier cannot compensate for examples that the collection process systematically excludes.

Use lexical cues to allocate review effort. A lexicon can identify a manageable candidate pool without deciding the final interpretation. Here, potentially harmful terms guide selection, while people distinguish ordinary usage, offense, and hate. This division is useful wherever a cheap rule can find likely examples but cannot resolve their meaning. Dictionary development, terminology extraction, and semantic error analysis all benefit from separating candidate discovery from admission. The important qualification is that a lexicon-selected collection cannot reveal how much relevant material occurs without its trigger words.

Build agreement through a process. Instructions alone do not guarantee consistent interpretation. The paper combines expert examples, independent practice, comparison with expert decisions, discussion, and later meetings. Each stage addresses a different source of disagreement: unfamiliarity with the task, unclear category boundaries, or difficult expressions encountered during production. This approach transfers to [linguistic annotation](https://md.research.elamur.ai/free/en/concepts/annotation/), document coding, and rule review. Agreement statistics then summarize the outcome of that process instead of replacing it.

Keep category meaning separate from category names. The paper’s labels sound like sentiment judgments, but their operational meanings concern different kinds of content. A system that reads “positive” as favorable would invert an important part of the task. This illustrates why a dataset needs explicit definitions, examples, and a stable mapping between identifiers and meanings. The lesson extends to any classification system whose short labels conceal distinctions that matter to users or downstream software.

Inspect the rare category directly. Weighted summaries make broad comparison convenient, but weak performance on a small category can remain compatible with a much stronger overall score. The paper’s class-specific results expose that problem clearly. This practice is useful in any application where the least frequent event is also the event of greatest interest. Report what happens to that category before concluding that a system works well for the application as a whole.

Compare representations under a shared evaluation. The experiments examine conventional classifiers with different text representations and then compare them with fine-tuned contextual systems. This separates an important design question from classifier branding: how much does the way text becomes numerical input affect the result? Comparable investigations can help determine whether a problem needs a richer representation, a different decision procedure, or better data. The comparison remains informative even when no single system wins on every category or metric.

### How Mova uses it

Mova is a transparent language system implemented in Rust. Its native understanding currently centers on English, with explicit parsing, frames, world state, and rules. JHSC does not demonstrate an Arabic hate-speech capability in Mova, and the available implementation evidence contains no measured application of this particular paper. The connections below are proposals assessed against documented mechanisms. The status marks describe overlap with those mechanisms; they do not claim that the paper caused an existing implementation or that the proposed transfer has already succeeded.

Idea: Make collection conditions inspectable. Where: Section 3.1. Area: data provenance. Mova: частково є (`tools/sources`, `tools/dictindex`). Mova already records source information and configured corpus boundaries. A useful extension would record the language, geographic criteria, retrieval period, and selection rationale as separate fields for a collected resource. This would help its logical modules distinguish evidence about a regional collection from evidence about a language generally. The benefit of that additional structure remains unmeasured.

Idea: Partition acquisition into bounded temporal units. Where: Section 3.1. Area: data processing. Mova: частково є (`tools/sources`, `tools/dictindex`). The paper’s monthly retrieval strategy suggests treating a collection as independently inspectable acquisition units. Mova already has bounded imports and publication-aware cursors in its dictionary index. Carrying an explicit temporal identity through those units could help diagnose missing periods, retry failures, and avoid claiming that a partially completed collection is complete.

Idea: Distinguish geographic association from linguistic proof. Where: Section 3.1. Area: corpus design. Mova: нове. A proposed corpus validator could record that location-based retrieval supports association with a region while leaving dialect identity unresolved. Why Mova: its rules and dictionary should not inherit a stronger linguistic claim than the source selection establishes. This is a proposed evidence distinction; the digest does not establish whether an equivalent check exists elsewhere.

Idea: Use a lexicon to propose examples. Where: Section 3.3.1. Area: lexicography. Mova: вже є (`tools/dictindex`, Nautilus handoff). Mova’s dictionary workflow already separates retrieval of corpus witnesses from reviewed admission. The paper provides another concrete reason to retain that boundary: an expression can be useful for finding examples without determining their interpretation. Applying the same principle to sensitive vocabulary would require suitable sources and evaluation, instead of treating a matched term as a completed semantic judgment.

Idea: Audit examples outside the lexical filter. Where: Sections 3.3.1 and 3.4. Area: evaluation. Mova: нове. Because JHSC’s annotation candidates are selected through a lexicon, a useful extension would review a separate sample that did not match it. Why Mova: a free dictionary or rule learner needs evidence about what its current vocabulary misses, including unfamiliar expressions and indirect meanings. This is a proposed audit motivated by the collection design, not an experiment reported by the authors.

Idea: Preserve the distinction between collection stages. Where: Sections 3.1–3.4. Area: data provenance. Mova: вже є (`tools/enrich`, `tools/dictindex`). Mova already distinguishes discovered material, indexed evidence, staged proposals, and admitted knowledge. JHSC reinforces the importance of keeping collected, cleaned, selected, and annotated material separate. A large upstream pool should never be presented as if every item has the review status of the smaller downstream collection.

Idea: Store label definitions independently of display names. Where: Table 5 and Section 3.3.2. Area: knowledge representation. Mova: частково є (`global` typed concepts, `prag` typed frame information). Mova already uses typed identities rather than relying entirely on ordinary-language names. Dataset import could extend that approach by binding each label to its operational definition, examples, and version. This would prevent a label such as positive from silently taking on its everyday sentiment meaning.

Idea: Check label vocabulary across an entire resource. Where: Table 5, Section 3.3.2, and Section 3.4. Area: data validation. Mova: нове. A proposed validator could flag that one passage lists very negative while the main classification tables use very positive, or that descriptive names change between sections. Why Mova: explicit inconsistencies should become reviewable gaps before they influence rules, dictionary entries, or evaluation reports. This proposal checks documentation consistency; it cannot determine the intended mapping without evidence.

Idea: Train reviewers with expert examples. Where: Section 3.3.1. Area: annotation. Mova: частково є (`treeagree`, `tools/enrich`). Mova already prepares source-bound drafts for review and applies explicit validation afterwards. A complementary reviewer protocol could include examples with accepted decisions and reasons before production work begins. The paper supports the value of a structured annotation process, but it does not measure how this specific addition would affect Mova’s reviews.

Idea: Use independent practice before reconciliation. Where: Section 3.3.1. Area: annotation quality. Mova: частково є (`treeagree` independent parser witnesses). Independent observations already matter in Mova’s parser agreement workflow. The human annotation procedure suggests preserving initial judgments before discussion, so later agreement does not erase the original ambiguity. Extending that principle to semantic review could help distinguish genuine convergence from conformity to a previously visible answer.

Idea: Record disagreement quantitatively. Where: Section 3.3.2. Area: statistics. Mova: вже є (`peta/tools/treeagree/src/kappa.rs`). Mova’s agreement tooling already reports chance-corrected agreement, including Fleiss’ kappa. JHSC supplies a direct application to categorical content judgments. A transfer would still need its own units, label distributions, and reviewed examples; the paper’s agreement value cannot stand in for the reliability of Mova annotations.

Idea: Retain ambiguous cases as evidence. Where: Section 3.3.1. Area: pragmatics. Mova: частково є (`tools/enrich`, source-bound review artifacts). The authors discuss difficult expressions in continuing meetings. Mova could preserve comparable cases with the competing interpretations and the eventual rationale instead of keeping only a final label. This would support later rule diagnosis and dictionary refinement, while leaving uncertain cases outside admitted knowledge until their evidence is sufficient.

Idea: Separate offensiveness from targeted hate. Where: Table 5. Area: pragmatics. Mova: частково є (`prag` frames, `global` principles, `world` context). Mova already represents agents, patients, and contextual facts, which are relevant to identifying who is being addressed or described. The paper motivates a separate judgment about offensive wording and a separate judgment about group-directed hostility. It does not establish that Mova’s existing frames can make those distinctions accurately.

Idea: Make the target part of the explanation. Where: Table 5. Area: semantic analysis. Mova: частково є (`prag` frame roles, `coref`). The distinction between general offense and group-directed hate depends partly on identifying a target. Mova could require a proposed judgment to name the relevant entity or group and the supporting relation. That would make missing target information visible. It would remain a hypothesis until tested on suitable annotated material.

Idea: Keep harmful text separate from asserted knowledge. Where: Section 3.3 and Table 5. Area: knowledge admission. Mova: вже є (`prag/src/frames.rs`, `world/src/knowledge.rs`, retention gates). Mova already distinguishes reported information from content asserted by the narrator, and its enrichment workflow does not automatically turn narrative material into fact. Sensitive corpus examples should retain the same separation. A quoted attack is evidence about an utterance, rather than a reason to adopt its claims.

Idea: Test cleaning decisions instead of assuming their value. Where: Section 3.2. Area: data processing. Mova: частково є (regression-gated language rules and evaluation practice). The paper removes several forms of text but does not isolate their individual effects. Mova could compare each proposed normalization against a preserved source version and inspect semantic losses. Existing regression gates provide part of that discipline, though no corresponding JHSC experiment is documented.

Idea: Preserve source text alongside normalized text. Where: Sections 3.2 and 3.5.2. Area: corpus evidence. Mova: вже є (`tools/dictindex` exact sentence witnesses). Mova’s dictionary index already retains exact sentence text and source identity. This mechanism is valuable when cleaning removes hashtags, names, or expressive symbols, because reviewers may need the original context to assess meaning. Retention of the original is useful evidence management; it does not establish that any particular normalization improves interpretation.

Idea: Make tokenization language-specific. Where: Sections 3.2 and 3.5.2. Area: syntax. Mova: вже є (`en/src/tok.rs`, language-specific annotation routing). Mova already has a separate French tokenization path and documented Hebrew experiments. The paper reinforces the broader lesson that informal language should not automatically inherit another language’s preprocessing assumptions. Any Arabic extension would need its own evidence and tests rather than borrowing the English route unchanged.

Idea: Treat morphology tools as conditional components. Where: Section 3.2. Area: morphology. Mova: частково є (`en` morphology and language-specific repair rules). The authors omit stemming because of concerns about dialect words. For Mova, the transferable idea is to verify the assumptions of a morphological tool before placing it in a pipeline. Existing morphology is evidence of a mechanism, not proof that it applies to a new dialect or writing style.

Idea: Compare representation choices separately from classifiers. Where: Sections 3.5.1 and 4.2. Area: evaluation design. Mova: частково є (CPU reference paths, measured approximants, explicit observations). Mova already distinguishes implementations and checks what each produces. A comparable study could hold a task and split fixed while varying lexical, frame-based, or graph-based input. This would help test its preference for rules and statistics on evidence rather than treating that architectural direction as a measured advantage.

Idea: Keep tuning separate from final assessment. Where: Section 4.1 and Section 4.2. Area: evaluation. Mova: вже є (held-out gates and teacher-separated assessment). Mova already reserves assessment material from training and uses development evidence for changes. The paper’s grid search and held-out evaluation provide another setting where that boundary matters. Its abbreviated account also suggests recording the exact tuning population and final chosen configuration more explicitly.

Idea: Report every category before aggregating. Where: Tables 6–11. Area: evaluation. Mova: частково є (`prag` field-level evaluation, school controls and traces). Mova already reports several component-specific outcomes. Extending reports to semantic categories would prevent a weighted total from hiding a weak but important distinction. The rare hateful category in JHSC illustrates the need, while providing no measurement of Mova’s own behavior.

Idea: Review recall and precision as different failure types. Where: Section 3.5.3 and Tables 6–11. Area: statistics. Mova: частково є (evaluation reports and explicit failure traces). Mova could attach missed cases and unsupported positive judgments to separate diagnostic queues. A high-precision rule may still overlook most relevant examples. The proposed use is to make those omissions visible, not to select a universal balance between the metrics.

Idea: Make rare-category evaluation a separate requirement. Where: Table 9 and the discussion of Figure 12. Area: evaluation. Mova: нове. A proposed gate could require explicit review of a low-frequency category before a broad success claim is admitted. Why Mova: a logical module should not describe a capability as dependable when its most consequential cases are poorly represented or rarely recovered. The paper motivates the gate but does not supply a threshold for Mova.

Idea: Check metric descriptions against their calculations. Where: Section 3.5.3. Area: mathematical validation. Mova: нове. The metric discussion contains inconsistent terminology concerning true negatives and the interpretation of AUC. A proposed report checker could flag disagreement between a metric’s definition, its labels, and its implementation evidence. Why Mova: transparent reasoning requires numerical claims to retain their exact mathematical meaning, especially when reports feed later decisions.

Idea: Measure stability instead of inferring it from a ranking. Where: Section 4.2. Area: statistics. Mova: частково є (deterministic reruns, held-out comparisons, bootstrap analyses). The authors describe CatBoost as stable, but the reported tables do not establish variability across repeated partitions or training runs. Mova already has mechanisms for deterministic checks and some uncertainty analyses. It could use them to keep “best in this table” separate from “reliably better across trials.”

Idea: Declare the boundary between research and action. Where: Section 3.3. Area: operational design. Mova: вже є (`layers`, bounded deputy planner, worker admission boundaries). The authors frame their collection as exploratory and distinguish it from legal action. Mova similarly separates observations from admitted operational steps. A proposed content-analysis component should therefore return evidence, uncertainty, and supported scope, with any consequential action governed by a separate explicit interface.

Idea: Evaluate transfer across dialects explicitly. Where: Section 5. Area: multilingual evaluation. Mova: нове. A proposed future study could compare performance within a documented dialect collection and on separately identified dialect material. Why Mova: reusable logical and dictionary modules need evidence about which distinctions transfer and which depend on local vocabulary or usage. Mova’s English core and separate language experiments do not establish Arabic dialect transfer.

Idea: Preserve fairness questions as unresolved evaluation work. Where: Section 5. Area: bias and fairness. Mova: частково є (documented coreference bias contrasts, source provenance). Mova has narrowly scoped checks addressing occupation-related gender associations in coreference. That does not amount to a fairness evaluation for hate-speech judgments. The paper suggests that any such extension should examine whose language is misclassified and under what conditions, with claims tied to the actual tests performed.

### The problem and its context

#### What is being detected?

The paper begins from a familiar tension in social media. Platforms allow people to exchange information, build communities, express opinions, and support one another. The same channels also carry harassment, insults, threats, and attacks on groups. Manual review is slow relative to the flow of messages, so researchers investigate automatic methods that can help identify harmful content.

The authors place hate speech within a broad discussion of harmful behavior. They describe harassment as persistent unwanted conduct, cyberbullying as harm carried through digital communication, offense as expression that causes upset, and abuse as harmful use of power. These concepts overlap in the discussion, but overlap does not make them equivalent. A system trained to identify profanity is not necessarily identifying group-directed hatred, and a system trained on negative opinions is not necessarily identifying either.

This conceptual issue is relevant to the earlier work the authors cite. [Toxic, Hateful, Offensive or Abusive?](https://md.research.elamur.ai/free/en/papers/fortuna-2020-toxic-hateful-offensive-or-abusive/) appears in their account of related categories. The present paper also illustrates the difficulty through its own annotation scheme: its task is introduced as hate-speech detection, but the labels span supportive messages, ordinary statements, offensive language, and hateful content. Understanding the experimental target requires reading those definitions instead of relying on the title alone.

The formal learning problem is supervised classification. Annotators assign a category to each example, and a classifier learns associations between the text and those assigned categories. Success means agreement with the reference annotations on held-out examples. That is a useful operational target, but it is narrower than demonstrating a general understanding of social harm or deciding whether a particular message should trigger intervention.

#### Why Arabic dialects matter

The authors identify limited resources as a central obstacle for Arabic research. Their concern is not simply the number of available messages. Large quantities of social media text exist, but a usable supervised resource also needs selection criteria, interpretable labels, and sufficiently reliable annotation. Building those components requires substantial labor.

Arabic adds linguistic complications through its [morphology](https://md.research.elamur.ai/free/en/concepts/morphology/), regional variation, and informal writing. A form can be written differently across messages, and its meaning can depend on dialect. The authors also note variation within a country. A general Arabic dataset may therefore fail to represent the vocabulary and usage of the population relevant to a particular application.

Their response is to focus on Jordanian Arabic. They state that, to their knowledge at the time, no earlier study had specifically addressed hate-speech detection for this dialect. That is an explicitly qualified priority claim. It should be read as the authors’ account of the literature they reviewed, rather than as proof that every possible earlier resource was absent.

Location-based collection is a practical way to approach the intended regional population. It is still an indirect method. A tweet associated with a Jordanian location is not, solely for that reason, linguistically verified as Jordanian dialect. The paper’s collection strategy establishes a regional sampling intention more clearly than it establishes a dialect label for every individual message.

#### What earlier research offered

The literature review describes several ways to construct a detection system. Some researchers reuse public datasets; others collect and label their own material. The authors cite [Arabic Offensive Language Detection with Attention-based Deep Neural Networks](https://md.research.elamur.ai/free/en/papers/haddad-2020-arabic-offensive-language-detection-attention/) and [Quick and Simple Approach for Detecting Hate Speech in Arabic Tweets](https://md.research.elamur.ai/free/en/papers/abuzayed-2020-quick-simple-approach-detecting-hate/) among work using shared resources. They also mention [ASAD](https://md.research.elamur.ai/free/en/papers/hassan-2021-asad-arabic-social-media-analytics/) in their discussion of Arabic resources and systems.

Earlier datasets differ in what they ask annotators to distinguish. Some use a binary division between hate and non-hate. Others separate normal, abusive, and hateful content. More detailed schemes identify types of hostility, such as religious or gender-related attacks. These are different tasks, even when their papers use similar broad terminology.

The reviewed Arabic resources also differ geographically. The authors discuss collections associated with Saudi, Gulf, Levantine, Tunisian, and Egyptian usage, alongside mixed Arabic collections. This diversity motivates their regional focus, but it also complicates performance comparisons. A classifier’s score reflects the dataset’s labels and examples as well as its architecture.

The authors’ Table 1 includes collections of very different sizes. For example, the Levantine ArHS resource contains 9,833 examples, while the mixed collection associated with Khezzar and colleagues contains 34,107. JHSC’s annotated collection is substantially larger in absolute scope, but size alone does not establish cleaner labels, broader coverage, or a harder or easier task.

The review also describes earlier approaches to representing text. Sparse word-based features coexist with distributed word vectors and contextual representations. According to the authors’ account of [A Survey on Hate Speech Detection using Natural Language Processing](https://md.research.elamur.ai/free/en/papers/schmidt-2017-survey-hate-speech-detection-natural/), relatively generic textual features can already be useful, and character-level approaches have sometimes outperformed token-level approaches. That history makes representation choice an empirical question instead of an obvious progression from simple to sophisticated.

Deep learning systems receive considerable attention in the review, including recurrent architectures, convolutional architectures, and transformers. Conventional machine learning also remains relevant. The paper’s own experimental design reflects that position: it does not introduce a new classifier as its principal contribution, but asks how several established choices behave on the newly annotated material.

#### Why corpus construction is the central contribution

The paper’s value lies mostly in making an otherwise difficult regional task available for investigation. Without a sufficiently large annotated collection, researchers cannot easily compare representations, study category boundaries, or examine the failure of rare-category detection. JHSC provides a concrete object around which those questions can be organized.

At the same time, corpus construction is a sequence of decisions that shapes the eventual benchmark. Location filters influence who appears. Cleaning determines which expressions remain. The lexical screen influences which kinds of messages receive annotation. Guidelines determine what the labels mean. Annotation agreement limits how confidently those labels can be treated as unambiguous.

These choices are not preliminary housekeeping that disappears once training begins. They define the relationship between the reported test performance and the broader problem of harmful language online. A careful reading therefore gives the collection and annotation stages as much attention as the final classifier comparison.

### The method, step by step

#### From a regional search to a labeled collection

The complete procedure can be understood as a sequence of narrowing and interpretation. First, the authors gather tweets associated with their intended region and language. They clean that material, select candidates containing terms from an existing lexicon, and then ask trained annotators to determine what those candidates mean. Only after these decisions do they construct numerical inputs and evaluate classifiers.

From regional tweet collection to classifier evaluation The steps in order.

The flow matters because the final test collection inherits every earlier selection. Evaluation is performed on the annotated material, not on an unrestricted sample of all Arabic tweets or even all tweets collected in the regional search.

#### Collection across locations and time

The authors collect tweets from the beginning of 2014 through the end of 2022. Searches specify Arabic as the language. They also use geographic filters associated with Jordan’s main population areas, covering 12 governorates through 20 named cities and regions.

They explain that ordinary user-location information was frequently unavailable in a random sample. Advanced search filters were therefore used to obtain a more geographically focused collection. This is a practical response to incomplete profile information, although the paper does not provide an independent validation of the location or dialect of every retrieved tweet.

Retrieval is organized month by month within each year. Smaller temporal units make the acquisition process more manageable and support systematic accumulation across the intended period. The resulting groups are subsequently combined. The initial collection contains 2,034,005 tweets.

A newcomer should distinguish temporal coverage from temporal representativeness. The procedure reaches across the stated years, but it does not establish that each period is sampled in proportion to actual activity. The authors later discuss variation in the number of collected tweets, yet the search procedure alone does not identify its causes.

#### Cleaning and its consequences

The cleaning stage first removes duplicates and retweets. The authors connect this decision to earlier work, including [Robust Sentiment Detection on Twitter from Biased and Noisy Data](https://md.research.elamur.ai/free/en/papers/barbosa-2010-robust-sentiment-detection-twitter-biased/) and [Arabic Language Sentiment Analysis on Health Services](https://md.research.elamur.ai/free/en/papers/alayba-2017-arabic-language-sentiment-analysis-health/). Removing repeated material reduces redundancy in the working corpus.

They then remove tweets that are not Arabic. Other deleted material includes user mentions, numerical content, email addresses, web links, HTML markup, and hashtags. These operations are intended to reduce noise before classification. Their practical meaning is that the classifier sees a simplified textual object rather than every element of the original message.

Emoji and emoticons are also removed. The authors motivate this decision through earlier findings and difficulties involving right-to-left text and punctuation-like expressive symbols. They cite [An Arabic Twitter Corpus for Subjectivity and Sentiment Analysis](https://md.research.elamur.ai/free/en/papers/refaee-2014-arabic-twitter-corpus-subjectivity-sentiment/) in this discussion. Their account supplies a rationale, but the present experiments do not isolate the effect of retaining versus deleting these elements.

The procedure also normalizes unwanted whitespace and excludes tweets containing two or fewer words. Very short messages may be difficult to interpret, but excluding them changes the task’s scope. Results on the retained messages do not describe performance on the discarded short ones.

The authors do not apply [stemming](https://md.research.elamur.ai/free/en/concepts/stemming/), a process that reduces related written forms towards a common stem. Their reason is concern about how available stemming procedures handle dialectal vocabulary. This is a useful example of declining a familiar preprocessing component when its assumptions may not fit the language variety.

After cleaning, 1,824,220 tweets remain. The paper divides this material into a part containing 1,266,669 tweets, intended for building a Jordanian dialect language resource, and a part containing 557,551 tweets selected for hate-speech annotation. The classifier experiments concern the annotated portion of that latter collection.

#### Lexical selection before human judgment

Candidate selection uses a lexicon associated with [Abusive Language Detection on Arabic Social Media](https://md.research.elamur.ai/free/en/papers/mubarak-2017-abusive-language-detection-arabic-social/). It contains 357 terms regarded as potentially hateful or offensive. A tweet enters the candidate collection if it contains a term from that lexicon.

This is a retrieval rule, not a complete interpretation rule. The subsequent manual annotation includes supportive and neutral categories precisely because a lexical match does not settle whether the whole message is offensive or hateful. An expression’s function depends on its use, surrounding language, and target.

The lexical screen makes annotation feasible at the scale the authors pursue. It also creates a coverage boundary: messages without those terms do not enter the same annotation route. The paper does not evaluate how much hateful material might remain outside the candidate collection.

When the paper was written, 403,688 candidates had been annotated. The rest of the selected collection was still being processed. The distinction between candidate count and completed annotation count is essential when describing either the resource or its evaluation.

#### Training the annotation team

The authors recruit participants through an advertisement and interview applicants. They report interviewing thirty people and selecting twenty, with some directed toward scraping and others toward annotation. It would therefore be inaccurate to infer that every selected participant independently labeled every tweet.

Annotation guidance is developed with expertise in Arabic language and linguistics. Participants receive training and take a test of their understanding before proceeding. The paper describes a further calibration process using 100 expert-annotated tweets for training and another 100 tweets for independent practice.

Comparing those practice judgments with expert decisions serves a different purpose from merely checking completion. It reveals where annotators interpret the categories differently. Discussion then addresses those differences, and the guidelines can be revised when necessary.

Meetings continue during production. The authors describe discussion of ambiguous expressions and conflicting attitudes, alongside feedback from experts. This acknowledges that annotation difficulties emerge from actual examples, not only from initial instructions.

#### Understanding the labels

Table 5 supplies the clearest operational account of the categories. Negative is illustrated by a respectful message appreciating women. Neutral is illustrated by an ordinary statement about study planning. Positive describes offensive language without hateful content. Very positive describes hateful material aimed at a group.

The supportive example is particularly useful because it prevents an intuitive misreading. A reader approaching the results as ordinary sentiment analysis might assume that negative means hostile and positive means approving. The paper’s table uses those names differently.

The very positive example is less straightforward as evidence for the stated category boundary. Its explanation refers to named terrorists and violent wording, while the category definition emphasizes a group target. The example still shows the kind of content the authors consider severe, but it leaves questions about how individual and group targeting are distinguished throughout annotation.

Other passages vary in their terminology. The agreement section names a very negative category, whereas the main results use very positive. The corpus statistics describe positive, offensive, very offensive, and neutral tweets. A careful implementation would need to resolve these names against the actual dataset documentation rather than silently treating them as interchangeable.

#### Measuring annotation agreement

The authors calculate Fleiss’ kappa on 500 tweets annotated by three people. This statistic asks whether agreement among categorical judgments exceeds what would be expected from the annotators’ overall use of the categories.

The reported value is 0.60, described as moderate. It indicates meaningful consistency, while also leaving substantial room for ambiguity or disagreement. It should not be interpreted as a guarantee that every label is clear or that every category has equal reliability.

The paper also describes majority decisions and expert evaluation in producing final annotations. Those procedures can resolve a working label, but a resolved label and an uncontested interpretation are different things. The agreement sample is therefore an important companion to the final dataset instead of a minor administrative detail.

#### Turning text into classifier input

The conventional systems use [TF-IDF](https://md.research.elamur.ai/free/en/concepts/tf-idf/) or Word2Vec. TF-IDF gives a word a weight based on its frequency within a document and its prevalence across the collection. Common terms tend to receive less discriminative weight, while terms concentrated in fewer documents can become more informative.

The authors describe TF-IDF as simple to implement and understand, while noting its dependence on the corpus and its limited treatment of word position. It supplies useful lexical evidence, but it does not by itself represent who attacks whom or how a phrase’s interpretation changes with context.

Word2Vec supplies dense [word embeddings](https://md.research.elamur.ai/free/en/concepts/word-embeddings/): numerical vectors intended to reflect relationships learned from word contexts. The paper explains the distinction between predicting a central word from neighboring words and predicting neighboring words from a central word. In the experiments, AraVec provides an Arabic Word2Vec representation.

A methodological gap remains between describing vectors for words and explaining vectors for whole tweets. The paper identifies the representation family, but its prose does not fully specify the aggregation procedure that turns all word vectors in a message into the fixed input expected by a conventional classifier. That detail would matter for exact replication.

The transformer route uses [fine-tuning](https://md.research.elamur.ai/free/en/concepts/fine-tuning/) of pretrained Arabic systems. A [transformer](https://md.research.elamur.ai/free/en/concepts/transformer/) produces context-sensitive representations, so the representation of an expression can depend on the surrounding message. The authors evaluate AraBERT, CamelBERT, and MARBERT in this route.

#### Training and configuration search

For the conventional comparison, the paper evaluates SVM, logistic regression, and Naive Bayes. It also tests random forest, AdaBoost, XGBoost, and CatBoost. Each is paired with the conventional text representations, allowing the results to show whether a representation advantage persists across different decision procedures.

The stated data split assigns 70% to training and 30% to testing. The authors describe grid search with 5-fold cross validation for configuration selection. Grid search means evaluating a specified collection of parameter choices rather than choosing all settings informally.

The account does not fully document the final parameter values. Section 4.1 says that Table 6 contains search and selected settings, but Table 6 presents negative-category results. This mismatch leaves the procedure less reproducible than the description initially suggests.

For transformer fine-tuning, the paper discusses SGD, ADAM, and AdamW as optimizer choices. It also explores learning rates and dropout settings, with training durations ranging from 1 to 5 epochs. The prose identifies the search dimensions without clearly tying a final complete configuration to each reported transformer result.

The classification head receives the transformer’s CLS representation, a designated output used as a summary for classification. The described head includes two dense layers with ReLU activations and dropout intended to reduce overfitting. The paper also mentions a linear layer relating input representations to output categories. Its account establishes the general design more clearly than the exact implementation details.

#### What the evaluation formulas mean

The paper reports recall, precision, F1, accuracy, and AUC. The first four are presented through binary-style equations, even though the experiment contains several categories. A class-specific reading treats the category of interest as positive and the other categories as its alternatives.

```
Recall = tp / (tp + fn)
```

Recall is the share of reference-positive examples that the classifier retrieves. Here, tp means an example belonging to the category that is predicted as belonging to it. The symbol fn means an example that belongs to the category but is predicted elsewhere. A low recall for hateful content means many annotated hateful examples are missed.

```
Precision = tp / (tp + fp)
```

Precision describes the reliability of the classifier’s positive predictions. The symbol tp retains the same meaning. The symbol fp means an example assigned to the category even though its reference label belongs elsewhere. High precision can coexist with low recall when a classifier predicts the category only under narrow conditions.

```
F1 = 2 × Recall × Precision / (Recall + Precision)
```

F1 combines recall and precision through their harmonic mean. Recall and Precision refer to the quantities just defined. The multiplier 2 gives the formula its symmetric treatment of the two inputs. A strong result requires more than success on only one side of that balance.

```
Accuracy = (tp + tn) / (tp + tn + fp + fn)
```

Accuracy is the proportion of correct decisions in the binary formulation. The symbol tn means a reference-negative example correctly predicted as negative; tp, fp, and fn retain their earlier meanings. The paper’s prose definition of tn appears to repeat the positive description, so the equation is more useful than that sentence for understanding the intended distinction.

For overall multicategory summaries, the authors use weighted averaging based on category frequency. This gives more influence to categories with more examples. The paper does not supply a separate equation for that aggregation.

The AUC description is less secure. The authors name the ROC curve but describe a tradeoff involving precision and recall. The paper also leaves important multicategory calculation details unclear. Its reported AUC values can be stated, but the explanatory prose does not fully establish the exact calculation behind them.

### Experiments and results

#### The annotated population

The evaluated resource contains 403,688 labeled tweets. Section 3. The tweet counts reported in 4 are 120,651 neutral, 7,034 very offensive, 126,297 offensive, and 149,706 positive. These are the section’s descriptive names; they do not align neatly with the negative, neutral, positive, and very positive names used in the classification tables.

The important distributional feature is clear in spite of that terminology problem: the severe hateful category is much smaller than the other categories. The authors connect this imbalance to the difficulty of learning it. Their results support the observation that this category is difficult, though they do not isolate imbalance from every other possible cause.

The test partition contains held-out examples from the same annotated collection. This evaluates generalization within that resource. It does not independently test another platform, a new dialect, a later period, or the portion of the regional collection that failed the lexical screen.

#### Conventional classifiers: the overall pattern

Across the conventional systems, Word2Vec typically produces better weighted summaries than TF-IDF. The chart compares weighted F1 under the Word2Vec setting.

Conventional classifiers on JHSC, Word2Vec weighted F1 CatBoost and XGBoost share the strongest weighted F1 among the conventional settings shown.

**The numbers**

| System or setting | weighted F1 |
| --- | --- |
| Logistic regression | 0.48 |
| Naive Bayes | 0.44 |
| Random forest | 0.49 |
| SVM | 0.48 |
| AdaBoost | 0.46 |
| XGBoost (this paper) | 0.50 |
| CatBoost | 0.50 |

The corresponding TF-IDF weighted F1 values are 0.39 for logistic regression, 0.37 for Naive Bayes, and 0.43 for random forest. SVM records 0.41, while AdaBoost records 0.40. XGBoost reaches 0.43 and CatBoost reaches 0.44. These comparisons support the authors’ preference for Word2Vec within the tested conventional pipeline.

CatBoost with Word2Vec also obtains weighted precision of 0.51, weighted recall of 0.51, and accuracy of 0.51. XGBoost with the same representation records weighted precision of 0.50, weighted recall of 0.50, and accuracy of 0.50. The authors favor CatBoost as a broadly strong conventional choice, although it does not uniquely lead every reported metric.

The conventional AUC values deserve separate treatment. CatBoost with Word2Vec has AUC of 0.47, while its TF-IDF version has 0.50. Logistic regression likewise has 0.48 with Word2Vec and 0.50 with TF-IDF. Representation superiority is therefore not universal across every column, even though the weighted F1 pattern is consistent.

#### Supportive and neutral content

For the negative category, which Table 5 associates with supportive content, the best recall belongs to SVM with TF-IDF at 0.65. Naive Bayes with Word2Vec has precision of 0.58. XGBoost and CatBoost with Word2Vec each obtain F1 of 0.58.

This is a useful example of why there is no single unqualified winner. The classifier that retrieves the largest share of the category is not the classifier with the strongest precision or F1. The choice depends on the error type being prioritized.

Neutral content is harder for the conventional systems. Naive Bayes with Word2Vec reaches recall of 0.47, while CatBoost with Word2Vec reaches precision of 0.44. Both have F1 of 0.41. These figures indicate that ordinary non-offensive messages remain difficult to distinguish within the lexicon-selected collection.

That difficulty is plausible in the task’s design: every annotated candidate has already matched potentially problematic vocabulary. Neutrality must therefore be recognized in the presence of a lexical cue that initially made the message worth reviewing. The paper does not provide a dedicated error analysis to confirm which neutral constructions drive the result.

#### Offensive language

For the positive category, interpreted through Table 5 as offensive language without hateful content, CatBoost with Word2Vec has recall of 0.57, precision of 0.49, and F1 of 0.53. XGBoost with Word2Vec obtains recall of 0.56, precision of 0.49, and F1 of 0.52.

The same category gives lower F1 under TF-IDF: CatBoost records 0.43 and XGBoost records 0.42. The evidence therefore favors the distributed representation for these tested settings, while leaving a considerable amount of disagreement with the reference annotations.

The authors describe the positive-category results more favorably than the neutral results. That interpretation is grounded in the reported scores, but the absolute performance still indicates a difficult classification problem. A category can be easier than another category without being reliably solved.

#### The rare hateful category

The very positive category produces the clearest warning against relying on aggregate scores. Logistic regression reports recall, precision, and F1 of 0.00 under both conventional representations. Several other conventional settings also retrieve almost none of the category.

Some precision values look more encouraging in isolation. CatBoost with TF-IDF has precision of 0.65 for very positive content. Its recall is only 0.01, however, so this does not describe broad recovery of the hateful examples. A small, selective set of predictions can be comparatively precise while leaving most reference examples undetected.

The next chart compares class-specific recall for several reported settings. Its values concern the very positive category alone.

JHSC very positive category, recall by selected setting The transformer settings retrieve more of the hateful category, while recall remains limited.

**The numbers**

| System or setting | class recall |
| --- | --- |
| Naive Bayes with Word2Vec | 0.08 |
| AraBERT | 0.16 |
| MARBERT | 0.17 |
| CamelBERT (this paper) | 0.19 |

The authors attribute much of the weakness to imbalance. That is a reasonable explanation to investigate, but the experiment does not show how much improvement would follow from changing the class distribution. Label ambiguity, target interpretation, and representation limitations remain possible contributors.

#### Fine-tuned transformers

The transformer comparison uses the same broad evaluation framework and reports category-specific as well as aggregate outcomes. Its central result is improved overall classification relative to the conventional settings.

Fine-tuned transformers on JHSC, aggregate F1 MARBERT has the strongest reported aggregate F1, although other metrics favor different settings.

**The numbers**

| System or setting | aggregate F1 |
| --- | --- |
| AraBERT | 0.6 |
| CamelBERT | 0.6 |
| MARBERT (this paper) | 0.61 |

AraBERT’s aggregate precision and recall are both 0.6. Its reported accuracy is 0.62 and aggregate AUC is 0.63. The category-specific F1 values are 0.63 for negative, 0.49 for neutral, 0.61 for positive, and 0.26 for very positive.

CamelBERT’s aggregate recall is 0.61, with aggregate precision of 0.6. Accuracy is 0.61 and aggregate AUC is 0.63. Its category-specific F1 values are 0.66 for negative, 0.51 for neutral, 0.64 for positive, and 0.27 for very positive.

MARBERT records aggregate recall of 0.61 and precision of 0.62. Its accuracy is 0.6 and aggregate AUC is 0.62. The category-specific F1 values are 0.64 for negative, 0.5 for neutral, 0.62 for positive, and 0.27 for very positive.

These results explain both the attraction and the limits of the transformer route. Contextual representations improve the reported broad summaries, and the hateful category is less neglected than under many conventional settings. Nevertheless, that category remains much weaker than the others.

The paper particularly praises CamelBERT. Its table supports that preference for several class-specific results, including negative and positive F1. Yet AraBERT has the strongest reported accuracy, while MARBERT has the strongest aggregate F1. The evidence therefore supports a metric-dependent comparison rather than an uncontested overall ranking.

#### What the resource evaluation establishes

The experiments demonstrate that the annotated collection contains distinctions that these systems can learn to some degree. They also expose a persistent rare-category problem and a consistent representation effect within the conventional comparison.

They do not independently verify the truth of the annotations. Agreement with an annotated test set is evidence about predictive consistency with that reference. Annotation quality also depends on the guidelines, the agreement study, and the handling of disputed cases.

Nor should the reviewed earlier papers’ headline scores be treated as directly comparable benchmarks. Their categories, dialects, collection strategies, and task formulations differ. JHSC’s value is not diminished by lower scores; a difficult, well-described resource can reveal weaknesses that an easier or differently defined task does not.

### What the ablations show

The paper does not present a dedicated ablation study isolating the contribution of each collection, preprocessing, annotation, or architectural component.

It does offer controlled comparisons of representations and classifiers. Pairing TF-IDF and Word2Vec with the same conventional classifier helps show that the representation matters within this setup. Because the improvement appears across several classifier families, it is less likely to be merely a peculiarity of one conventional decision procedure.

That comparison still leaves implementation questions. The paper does not fully document how word vectors become message vectors or whether every representation received equally extensive tuning. The results establish the behavior of the reported pipelines more securely than they establish a universal property of either representation family.

The comparison between conventional systems and fine-tuned transformers changes more than one component. The representation becomes contextual, the training procedure changes, and a neural classification head is used. Accordingly, the stronger transformer results cannot be attributed solely to contextual information, solely to pretraining, or solely to the classification head.

The class-specific tables provide another important analysis. They show that different categories have different difficulty and that broad weighted summaries do not describe them equally. In particular, the rare hateful category remains weak across approaches. This is stronger evidence for a practical weakness than a single aggregate score would provide.

The authors’ explanation based on imbalance is not itself an ablation. They do not report a comparison that changes only category frequency while holding the rest of the procedure fixed. The evidence shows coexistence of imbalance and poor rare-category performance, with a plausible connection, rather than a measured decomposition of causes.

Similarly, the cleaning choices are not individually tested. The paper does not compare retaining and deleting hashtags, retaining and deleting emoji, or applying and omitting stemming under an otherwise unchanged setup. The discussion supplies reasons drawn partly from earlier work, but those reasons are not equivalent to JHSC-specific experimental confirmation.

Hyper-parameter exploration is described, yet the results of each choice are not laid out as a sensitivity analysis. A reader cannot determine how strongly optimizer choice, learning rate, dropout, or training duration affected each final transformer score. The paper identifies relevant tuning dimensions without revealing their individual contribution.

Finally, the agreement study evaluates annotation consistency, not a particular training technique. Its result helps interpret the reference labels, but the paper does not compare alternative guidelines or annotation procedures experimentally. The process is documented as a quality-control strategy rather than isolated as the cause of a quantified improvement.

### Limitations

#### Limits the authors identify

The authors explicitly recognize that broader dialect coverage remains unfinished. Their future plans include material beyond the present Jordanian focus and neighboring dialect settings. The current experiments should therefore be read as regional rather than representative of all Arabic usage.

They also identify contextual analysis as an area needing improvement. This matters because offensive wording, target identity, and the relationship between speakers can change interpretation. Numerical text representations may capture useful associations without resolving every pragmatic distinction involved in a harmful utterance.

The authors name real-time detection and user-specific analysis as future directions. Their reported experiments do not establish either capability. Offline test performance does not describe how a deployed system would handle response time, changing users, or evolving patterns of expression.

They further identify [bias, fairness, and safety](https://md.research.elamur.ai/free/en/topics/bias-fairness-safety/) as unresolved concerns. These are future research commitments rather than demonstrated properties of the corpus or classifiers. The paper does not report a subgroup fairness evaluation that would justify calling the systems equitable across affected communities.

For multilingual and cross-lingual work, the authors discuss the possibility of uneven performance between languages and loss of language-specific nuance. They also note structural and stylistic differences that can obstruct transfer. Their present evaluation does not test those transfer questions.

The paper’s stated use is exploratory. It distinguishes research on public tweets from legal action based on classifier output. That boundary is important because even its strongest settings make substantial errors, particularly on the category most directly associated with hate.

#### Limits visible in the collection design

A careful reader should treat lexical selection as a major coverage limitation. The annotated collection is enriched for tweets containing known potentially offensive terms. It does not provide a direct estimate of detection performance on hateful expressions that avoid those terms.

The same selection complicates interpretation of ordinary deployment accuracy. A stream of unrestricted tweets may contain a different mixture of easy negatives, indirect attacks, unfamiliar vocabulary, and lexical matches used harmlessly. The paper does not evaluate that broader population.

Location filters are also an imperfect substitute for linguistic verification. They make a regional focus operational, but they do not establish that every writer uses the intended dialect. The authors’ description would be strengthened by an independent assessment of dialect identity on sampled messages.

The temporal analysis is descriptive rather than causal. The paper discusses possible reasons for changing tweet counts, including other platforms and legal conditions. Collection counts alone cannot determine which explanation is correct, especially when acquisition procedures and platform accessibility may also influence what is retrieved.

#### Limits of labels and agreement

The label terminology is inconsistent across sections. This is more than a stylistic inconvenience because the category names have counterintuitive meanings in the main annotation table. Reuse requires an authoritative mapping, not a guess based on everyday meanings of positive and negative.

The definitions also combine dimensions that could have been represented separately. Supportiveness, offensiveness, and group targeting concern different aspects of an utterance. Putting them into a single category choice can make borderline cases difficult, particularly when a message mixes praise, insult, quotation, and hostility.

Fleiss’ kappa of 0.60 indicates moderate agreement in the authors’ interpretation. The paper does not provide category-specific agreement, an uncertainty interval for that estimate, or a detailed distribution of disagreement types. It therefore leaves unanswered whether uncertainty is concentrated in the rare hateful category or spread more widely.

The agreement sample also does not by itself document the review history of every annotated tweet. The authors describe majority decisions and expert involvement, but the complete allocation of independent judgments across the full collection is not fully specified. The sample-based reliability estimate should retain that scope.

#### Limits of evaluation and reproducibility

The paper reports a held-out split, but it does not clearly specify whether the split is stratified or whether related users and temporally adjacent material are separated. Duplicate and retweet removal reduces obvious repetition; it does not prove that all less direct forms of dependence are absent.

Without an author-separated or time-separated test, the results cannot establish robustness to unfamiliar writers or later language use. Those are additional evaluation questions, not conclusions that follow automatically from a random-looking held-out partition.

Configuration reporting is incomplete. The mismatch between the hyper-parameter discussion and Table 6 makes it difficult to recover the conventional settings. The transformer search is described broadly, but the final chosen combinations are not fully attached to the reported outcomes.

The metrics discussion contains terminology problems. The true-negative description is inconsistent with the accuracy equation, and the AUC explanation mixes curve terminology. These issues do not prove that the calculations are wrong, but they limit confidence in interpreting the metric definitions from the prose alone.

No repeated-run variation, confidence intervals for classifier scores, or significance tests are reported. Describing a system as stable therefore exceeds what the tables alone establish. The tables show a ranking under the reported evaluation conditions, not a measured distribution of outcomes across alternative runs.

Finally, the authors infer that the results support the quality of the collection and annotation. The experiments do support the collection’s usefulness as a learning resource. They cannot independently establish comprehensive coverage, unambiguous category definitions, or safe operational use. Those stronger claims require evidence beyond agreement with the same resource’s held-out labels.

### What came after

The later citing works point toward dialect transfer, detoxification, and richer categorization. Their titles identify those directions, but do not establish which JHSC data they used, how they interpreted its labels, or whether they reproduced its experiments. Their relationship to this paper can therefore be described more securely as citation and thematic continuation than as a demonstrated technical extension.

[Fine-Grained Arabic Offensive Language Classification with Taxonomy, Sentiment, and Emotions](https://md.research.elamur.ai/free/en/papers/vanetik-2025-fine-grained-arabic-offensive-language/) appeared in 2025. Its title foregrounds a richer organization of offensive content and explicitly brings sentiment and emotions into the task. That direction is relevant to a central difficulty in JHSC: category names that sound sentimental are used to encode distinctions involving offense and hate. The later title suggests attention to separating or combining these dimensions more explicitly, but the available citation information does not establish the resulting taxonomy, experiments, or findings.

[AraDetox: A Multi-Dialect Arabic Detoxification Dataset](https://md.research.elamur.ai/free/en/papers/el-haj-2026-aradetox-multi-dialect-arabic-detoxification/) appeared in 2026. Its stated subject shifts attention from detecting problematic text toward a dataset for detoxification, while also emphasizing multiple dialects. Both themes connect to the earlier paper’s unresolved scope. Detection assigns a judgment to an input; detoxification concerns changing problematic expression. The citation establishes a connection between the works, but it does not show that AraDetox reused JHSC or resolved its annotation difficulties.

[From FusHa to Folk: Exploring Cross-Lingual Transfer in Arabic Language Models](https://md.research.elamur.ai/free/en/papers/khalak-2026-fusha-folk-exploring-cross-lingual/) also appeared in 2026. Its title identifies transfer as the central topic, aligning with the earlier authors’ proposal to investigate multilingual and cross-lingual approaches. The title alone does not establish the transfer settings, datasets, or results, so it cannot support a claim that Jordanian hate-speech detection improved through that route.

Taken together, these citing works identify several ways the research problem extends beyond building a large regional classification collection. One concerns what distinctions the annotations should express. Another concerns what to do with harmful text after identifying it. A further question is how knowledge transfers between language varieties. JHSC contributes a substantial, documented starting point for such investigation, while its own results make clear why category meaning, sampling coverage, and rare-category errors must remain central to any follow-up.

## Cite

Cite as Ashraf Ahmad, Mohammad Azzeh, Eman Alnagi, Qasem S. Abu Al-Haija, Dana Halabi, Abdullah Aref and Yousef AbuHour. 2024. Hate speech detection in the Arabic language: corpus design, construction, and evaluation. Frontiers in Artificial Intelligence.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.3389/frai.2024.1345445](https://doi.org/10.3389/frai.2024.1345445)

```bibtex
@inproceedings{ahmad2024hate,
  title = {{Hate speech detection in the Arabic language: corpus design, construction, and evaluation}},
  author = {Ashraf Ahmad, Mohammad Azzeh, Eman Alnagi, Qasem S. Abu Al-Haija, Dana Halabi, Abdullah Aref and Yousef AbuHour},
  booktitle = {Frontiers in Artificial Intelligence},
  year = {2024},
  doi = {10.3389/frai.2024.1345445},
  url = {https://doi.org/10.3389/frai.2024.1345445}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
