metadata
dataset_info:
features:
- name: uuid
dtype: string
- name: url
dtype: string
- name: title
dtype: string
- name: html_content
dtype: string
splits:
- name: es
num_bytes: 1882287335
num_examples: 44878
- name: en
num_bytes: 4599987
num_examples: 120
- name: ar
num_bytes: 5560430
num_examples: 120
- name: ru
num_bytes: 5864612
num_examples: 120
- name: fr
num_bytes: 2080884094
num_examples: 46756
- name: zh
num_bytes: 1601593205
num_examples: 39851
download_size: 1592960042
dataset_size: 5580789663
Dataset Card for "un_corpus_for_sitemap"
How to use
from datasets import load_dataset
import datasets
dataset = load_dataset('ranWang/un_corpus_for_sitemap')
# lang_list = ['zh', 'en', 'fr', 'es', 'ru', 'ar']
for lang in dataset:
for colum in dataset[lang]:
# colum.keys = ['uuid', 'url', 'title', 'html_content']
# code...
OR
# you want to specify the language
dataset = load_dataset('ranWang/un_corpus_for_sitemap', split={lang})
for colum in dataset:
# colum.keys = ['uuid', 'url', 'title', 'html_content']
# code...