text stringlengths 0 934k |
|---|
ماء |
الماء مادةٌ شفافةٌ عديمة اللون والرائحة، وهو المكوّن الأساسي للجداول والبحيرات والبحار والمحيطات وكذلك للسوائل في جميع الكائنات الحيّة، وهو أكثر المركّبات الكيميائيّة انتشاراً على سطح الأرض. يتألّف جزيء الماء من ذرّة أكسجين مركزية ترتبط بها ذرّتا هيدروجين على طرفيها برابطة تساهميّة بحيث تكون صيغته الكيميائية H2O. عند ا... |
رياضيات |
الرِّيَاضِيَّاتُ هي مجموعة من المعارف المجردة الناتجة عن الاستنتاجات المنطقية المطبقة على مُختلف الكائنات الرياضية مثل المجموعات، والأعداد، والأشكال والبنيات والتحويلات. وتهتم الرياضيات أيضًا بدراسة مواضيع مثل الكمية والبنية والفضاء والتغير. ولا يوجد حتى الآن تعريف عام متفق عليه للمصطلح. يسعى علماء الرياضيات إلى استخدا... |
إستونيا |
"إِسْتُونِيَا (رسميًّا: جُمْهُورِيَّةُ إِسْتُونِيَا) ؛(...TRUNCATED) |
تلفزة |
Plaintext Wikipedia (Arabic)
Compressed plaintext articles from Arabic Wikipedia. One current main-namespace revision per non-redirect article; titles and cleaned text are stored as UTF-8 in independent gzip shards.
Produced and maintained by cheeseonamonkey/PlainTextWikipedia.
Build status: COMPLETE — 10/10 root shards recovered (10 leaf archives). All planned page ranges recovered.
Format
Each .txt.gz shard has three lines per article (title, single-line body, blank separator):
Article title
Cleaned article body
Next title
Next article body
Shard files are normally named arwiki_01_of_NN.txt.gz, etc. If one shard fails, recovery splits it into named halves like arwiki_01a_of_NN.txt.gz and arwiki_01b_of_NN.txt.gz; a failing half can split again (01ba, 01bb, etc.). Only successful, non-overlapping leaves are published.
The machine-readable coverage file data/build-manifest.json records which roots and subranges completed. Always check its complete flag before treating a dataset as exhaustive. These are raw text archives, not structured rows with title and body fields in the Hugging Face datasets API.
Example: download and read
import gzip
from huggingface_hub import HfApi, hf_hub_download
repo = "ffatty/plaintext-wikipedia-full-arabic"
files = sorted(
path for path in HfApi().list_repo_files(repo, repo_type="dataset")
if path.startswith("data/") and path.endswith(".txt.gz")
)
path = hf_hub_download(repo, filename=files[0], repo_type="dataset")
with gzip.open(path, "rt", encoding="utf-8") as stream:
title = stream.readline().rstrip("\n")
body = stream.readline().rstrip("\n")
print(title, body[:200])
Sources and attribution
- cheeseonamonkey/PlainTextWikipedia — maintained converter and publisher.
- daveshap/PlainTextWikipedia — original upstream project (unmaintained).
- Wikimedia dumps — article source.
Wikipedia content is released under Creative Commons Attribution-ShareAlike (CC BY-SA); the conversion code is MIT licensed. Follow the applicable Wikimedia reuse requirements, including author attribution.
Generated by cheeseonamonkey/PlainTextWikipedia. Source data: Wikimedia dumps.
- Downloads last month
- 42