Dataset Viewer
Auto-converted to Parquet Duplicate
text
stringlengths
0
274k
صفحهٔ اصلی
مقاله‌های برگزیده – مقالهٔ امروز بیشتر… – پیشنهاد یک مقاله امروز: ، میلادی برابر هجری خورشیدی و (UTC) → روز قبل – روز بعد ←یادبودهای – یادبودهای بیشتر… نگاره‌های برگزیدهٔ بیشتر __NOTOC__ __NOEDITSECTION__
ویکی‌پدیا
ویکی‌پدیا ، یک دانشنامه برخط چندزبانه بر پایهٔ وب با محتوای آزاد و همکاری باز است که با همکاری داوطلب‌ها نوشته می‌شود و هر کسی که به اینترنت و وب دسترسی داشته باشد می‌تواند مقاله‌های آن را ببیند و ویرایش کند. نام ویکی‌پدیا از پیوند واژه «ویکی» (به معنی وبگاه مشارکتی) با «پدیا» (برگرفته از پسوند واژهٔ encyclopedia به مع...
سالنامه
سالنامه‌ها یا وقایع‌نامه‌ها (به انگلیسی: Annals، به ، از ریشهٔ کلمهٔ به معنی "سال") سندی برای ثبت مختصر تاریخ بود که در آن وقایع سال به سال بر اساس گاهشماری مرتباً نوشته می‌شد، اگرچه این اصطلاح برای هر تاریخ مکتوبی می‌تواند استفاده شود. == محدوده == ماهیت تمایزی بین سالنامه و تاریخ موضوعی وجود دارد که توسط رومیان باستا...
اطلاعات
اِطّلاعات، اَزدایش در کوتاه‌ترین تعریف، «داده‌های پردازش‌شده» است. داده‌ها مواد خام بِالقوه معنی‌داری هستند که ما آن‌ها را در راستای شناخت و فهم هر مفهوم مادی یا غیرمادی، به واسطهٔ روش‌های پژوهشی، و با استفاده از ابزارهای شناختی به دست می‌آوریم. داده، یک شرح مقدماتی از یک پدیده، اتفاق، فعالیت یا تعاملات است که ثبت‌شده،...
محتوای آزاد
محتوای آزاد یا اطلاعات آزاد یا محتوای باز هر اثر عملی، هنری یا آثار خلاقانه دیگر است که مطابق با تعریف آثار فرهنگی آزاد و تحت اجازه‌نامه‌ای منتشر شده باشند که محدودیت قانونی چشمگیری بر آزادی افراد در کاربرد، توزیع، تغییر و توزیع کارهای منتج‌شده از محتوا اعمال نکنند. این مفهوم، برگرفته از مفهوم نرم‌افزار آزاد و متن‌باز ...
ویکی
ویکی به وبگاه‌هایی گفته می‌شود که به تمام بازدیدکننده‌هایش (حتی گاه، بدون نیاز به نام‌نویسی در تارنما)، اجازهٔ ویرایش، افزودن یا حذف نوشته‌ها را می‌دهد. معمولاً در ویکی‌ها متن‌ها با استفاده از یک زبان نشانه‌گذاری ساده نوشته می‌شوند و با کمک یک ویرایشگر متن غنی قابل ویرایش است. به نرم‌افزارهای ویکی که پایهٔ چنین تارنماه...
نرم‌افزارهای مشارکت‌گرا
نرم‌افزارهای مشارکت‌گرا (Collaborative software) یا گروه‌افزار (Groupware) یا ابزار گروهی، نرم‌افزارهایی هستند که امکان انجام کارهای گروهی در یک زمینه ویژه یا زمینه‌های گوناگون را می‌دهند. == منابع == رده:نرم‌افزارهای مشارکت‌گرا رده:ارتباطات به واسطه‌گری کامپیوتر رده:نرم‌افزار آزاد رده:نرم‌افزارهای اجتماعی رده:نرم‌افزا...
سعدی
End of preview. Expand in Data Studio

Plaintext Wikipedia (Persian)

Compressed plaintext articles from Persian 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 — 5/5 root shards recovered (5 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 fawiki_01_of_NN.txt.gz, etc. If one shard fails, recovery splits it into named halves like fawiki_01a_of_NN.txt.gz and fawiki_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-persian"
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

  1. cheeseonamonkey/PlainTextWikipedia — maintained converter and publisher.
  2. daveshap/PlainTextWikipedia — original upstream project (unmaintained).
  3. 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
41