safha

Collect and clean Arabic web content into JSONL training data.

29|5|Updated Mar 26, 2026
One-click install
npx skills add https://github.com/Moshe-ship/mkhlab --skill safha
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: safha
Source: https://github.com/Moshe-ship/mkhlab/tree/main/hermes-skills/safha
Command: npx skills add https://github.com/Moshe-ship/mkhlab --skill safha

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This tool helps gather and clean Arabic content from the web to prepare training data, saving time and improving data quality.

Core Features & Use Cases

  • Content scraping: collects Arabic content from websites.
  • Cleaning & normalization: normalizes dialect, diacritics, and URL pruning.
  • Dialect detection: classifies content by Arabic dialect.

Quick Start

Scrape a URL and save the collected Arabic content as JSONL.

Frequently Asked Questions about safha

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scrape Arabic web content to build NLP training data?

To build Arabic NLP training data, you can crawl websites and extract text while handling Arabic-specific normalization. This tool collects raw content and cleans it into structured JSONL files suitable for NLP datasets.

How does Arabic dialect detection work for web content?

Arabic dialect detection classifies scraped web text by regional dialect. This tool tags cleaned content with dialect labels, enabling the creation of dialect-aware corpora for specialized NLP applications.

What does cleaning Arabic text for machine learning involve?

Cleaning Arabic text for machine learning involves normalizing dialect, removing diacritics, and pruning URLs. This process standardizes scraped web content into high-quality training data.

Can I use a simple CLI to crawl and clean Arabic datasets?

Yes, you can use a simple CLI to crawl and clean Arabic datasets. This tool supports straightforward command-line operations to scrape URLs and save the collected Arabic content directly as JSONL files.

What is the best way to prepare Arabic content moderation datasets?

The best way to prepare Arabic content moderation datasets is to scrape web content and apply text normalization. This tool cleans collected data and tags dialects, providing structured data for moderation model training.