QomSSLab/Legal_WikiHoghoogh
Pages from wikihoghoogh.net (articles, books, theses, research). The text column is the page. The page JSON keeps the crawled fields.
Each row has the main fields and id. The crawled page, with every field kept, is a separate JSON file in this repo. The file name is the same id.
Load one row
import json
from datasets import load_dataset
from huggingface_hub import hf_hub_download
ds = load_dataset("QomSSLab/Legal_WikiHoghoogh", split="train")
row = ds[0]
record_id = str(row["id"])
path = hf_hub_download(
"QomSSLab/Legal_WikiHoghoogh",
f"pages/{record_id[:2]}/{record_id}.json",
repo_type="dataset",
)
page = json.loads(open(path, encoding="utf-8").read())
page is the full saved record. record_id selects its file: pages/ + the first two characters of the id + / + the id + .json.
- Downloads last month
- 3,724