Datasets:
Sinhala Wikipedia Articles Dataset
Contains a collection of Wikipedia articles in the Sinhala language, scraped and cleaned for natural language processing (NLP) tasks under the `RedQueenProtocol' project. The dataset is split into 7 Parquet files, each representing a part of the scraped content.
Data Overview
- Language: Sinhala
- Source: Wikipedia
- Format: Parquet (columns:
title
andcontent
, wheretitle
is the article title andcontent
is the cleaned text) - Files:
sinhala_articles_part1.parquet
sinhala_articles_part2.parquet
sinhala_articles_part3.parquet
sinhala_articles_part4.parquet
sinhala_articles_part5.parquet
sinhala_articles_part6.parquet
sinhala_articles_part7.parquet
- 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")
- Downloads last month
- 16