Skip to content
Back to skills

Algerian Dialect Eval

ASecurity

Evaluates cross-lingual and cross-script transfer performance for sentiment analysis and topic classification on a novel multi-layer Algerian dialect corpus. Probes how script differences (Latin/NArabizi vs. Arabic/Persian/Urdu) and typological similarity impact classification accuracy in code-switched, under-resourced vernaculars. Use when the user wants to benchmark on Algerian Dialect Corpus (NArabizi), or asks about evaluating this task. Reports Macro F1.

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 11, 2026
researchpythongotestinggitperformance

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill algerian-dialect-eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Algerian Dialect Eval?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Algerian Dialect Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-algerian-dialect-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-algerian-dialect-eval)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: algerian-dialect-eval
description: Evaluates cross-lingual and cross-script transfer performance for sentiment analysis and topic classification on a novel multi-layer Algerian dialect corpus. Probes how script differences (Latin/NArabizi vs. Arabic/Persian/Urdu) and typological similarity impact classification accuracy in code-switched, under-resourced vernaculars. Use when the user wants to benchmark on Algerian Dialect Corpus (NArabizi), or asks about evaluating this task. Reports Macro F1.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2105.07400
  bibtex_key: [REDACTED]
  confidence: high
---

# algerian-dialect-eval

> The interplay between language similarity and script on a novel multi-layer Algerian dialect corpus — Touileb et al. (2021) (arXiv:2105.07400, 2021)

## What this evaluates

Evaluates cross-lingual and cross-script transfer performance for sentiment analysis and topic classification on a novel multi-layer Algerian dialect corpus. Probes how script differences (Latin/NArabizi vs. Arabic/Persian/Urdu) and typological similarity impact classification accuracy in code-switched, under-resourced vernaculars.

## Datasets

- **Algerian Dialect Corpus (NArabizi)** — total ?; splits: train (-1), dev (-1), test (-1); repo https://github.com/SamiaTouileb/Narabizi

## Metrics

- `Macro F1` **(primary)** — range: [0, 1]
  - Unweighted mean of the F1 scores computed independently for each class. Calculated as the average of precision and recall per class, then averaged across all classes to mitigate label skew.

## Input / output format

**Input**: Raw text sentences or documents in various scripts (NArabizi/Latin, Arabic, Persian, Urdu, Hebrew, Maltese, MSA).

**Output**: Discrete class label: for sentiment, 'pos' or 'neg'; for topic classification, one of 5 collapsed categories.

## Scoring recipe

```python
def macro_f1(predictions, gold):
    classes = sorted(set(predictions) | set(gold))
    f1_scores = []
    for c in classes:
        tp = sum(1 for p, g in zip(predictions, gold) if p == c and g == c)
        fp = sum(1 for p, g in zip(predictions, gold) if p == c and g != c)
        fn = sum(1 for p, g in zip(predictions, gold) if p != c and g == c)
        prec = tp / (tp + fp) if (tp + fp) > 0 else 0
        rec = tp / (tp + fn) if (tp + fn) > 0 else 0
        f1 = 2 * prec * rec / (prec + rec) if (prec + rec) > 0 else 0
        f1_scores.append(f1)
    return sum(f1_scores) / len(f1_scores)
```

## Common pitfalls

- The paper states testing the best model on the 'dev set' rather than a held-out test set, which may indicate a non-standard split or potential data leakage.
- Label distributions are highly skewed; using accuracy instead of Macro F1 would heavily favor majority classes and misrepresent model performance.
- Topic categories 'Prayer' and 'Religion' are explicitly collapsed into a single class, changing the task from its original formulation to a 5-class problem.

## Evidence (verbatim from paper)

> As the label distribution for both tasks is highly skewed, we use Macro F1 to evaluate. Given the size of the categories "Prayer" and "Religion", we collapse them to a single topic, converting the topic classification task into a 5-class multi-class problem.

## Citation

```bibtex
@misc{touileb2021corpus,
  title={The interplay between language similarity and script on a novel multi-layer Algerian dialect corpus},
  author={Touileb et al. (2021)},
  year={2021},
  note={arXiv:2105.07400}
}
```

- arXiv: 2105.07400

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.