You need to agree to share your contact information to access this dataset

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this dataset content.

Sinhala Wikipedia Articles Dataset

This dataset contains a the whole collection of Wikipedia articles in the Sinhala language as of July 2025, scraped and cleaned for natural language processing (NLP) tasks under the RedQueenProtocol project. The dataset is split into 7 JSON files, each representing a part of the scraped content.

Data Overview

  • Language: Sinhala
  • Source: Wikipedia
  • Format: JSON (key-value pairs, where keys are article titles and values are cleaned text content)
  • Files:
    • sinhala_articles_part1_cleaned.json
    • sinhala_articles_part2_cleaned.json
    • sinhala_articles_part3_cleaned.json
    • sinhala_articles_part4_cleaned.json
    • sinhala_articles_part5_cleaned.json
    • sinhala_articles_part6_cleaned.json
    • sinhala_articles_part7_cleaned.json
  • Total Parts: 7
  • Creation Date: July 2025

Data Cleaning

The text has been processed to:

  • Remove section headers (e.g., == ... ==)
  • Eliminate URLs, references, and web artifacts
  • Replace multiple newlines and tabs with single spaces
  • Remove backslashes, escaped quotes, and Unicode control characters (e.g., U+200E)
  • Strip leading/trailing whitespace
  • Flag incomplete sentences (ending with "...")

Loading the Dataset

Using the datasets library:

from datasets import load_dataset

dataset = load_dataset("your-username/sinhala-wikipedia-articles", data_files=["sinhala_articles_part1.json", ...])
Downloads last month
5