text stringlengths 0 769k |
|---|
Anarchism |
Anarchism is a far-left political philosophy and movement that seeks to abolish all institutions that perpetuate authority, coercion, or hierarchy, primarily targeting the state, capitalism, and organised religion. Anarchism advocates for the replacement of these hierarchical social structures with stateless societies ... |
Albedo |
Albedo ( ; ) is the fraction of sunlight that is diffusely reflected by a body. It is measured on a scale from 0 (corresponding to a black body that absorbs all incident radiation) to 1 (corresponding to a body that reflects all incident radiation). Surface albedo is defined as the ratio of radiosity Je to the irradian... |
A |
A (minuscule: a) is the first letter and the first vowel letter of the Latin alphabet, used in the modern English alphabet, and others worldwide. Its name in English is a (pronounced as in say), plural aes. It is similar in shape to the Ancient Greek letter alpha, from which it derives. The uppercase version consists o... |
Alabama |
Alabama (, ) is a state in the Southeastern and Deep Southern regions of the United States. It borders Tennessee to the north, Georgia to the east, Florida and the Gulf of Mexico to the south, and Mississippi to the west. Alabama is the 30th largest by area, and the 24th-most populous of the 50 U.S. states. Alabama is ... |
Achilles |
Plaintext Wikipedia (English)
Compressed plaintext articles from English 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.
Dataset availability
16 compressed archives currently published. Source recovery: 16/16 roots, status COMPLETE. See data/build-manifest.json for exact missing or incomplete ranges.
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 enwiki_01_of_NN.txt.gz, etc. If one shard fails, recovery splits it into named halves like enwiki_01a_of_NN.txt.gz and enwiki_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-english"
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
- 143