ranWang's picture
Update README.md
3acf69b
|
raw
history blame
1.1 kB
metadata
dataset_info:
  features:
    - name: uuid
      dtype: string
    - name: url
      dtype: string
    - name: title
      dtype: string
    - name: html_content
      dtype: string
  splits:
    - name: fr
      num_bytes: 5059295
      num_examples: 120
    - name: ru
      num_bytes: 5864612
      num_examples: 120
    - name: zh
      num_bytes: 4547420
      num_examples: 120
    - name: ar
      num_bytes: 5560430
      num_examples: 120
    - name: en
      num_bytes: 4599987
      num_examples: 120
    - name: es
      num_bytes: 5021837
      num_examples: 120
  download_size: 8054925
  dataset_size: 30653581

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')

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...