Datasets:
|
Download README.md from marsh-mellow/assamese_wikipedia: direct link, hf CLI and curl.
- Browser
- Download file 1.99 kB
-
https://huggingface.co/datasets/marsh-mellow/assamese_wikipedia/resolve/main/README.md
- Command line
-
hf download hf://datasets/marsh-mellow/assamese_wikipedia/README.md
-
curl -L -o README.md https://huggingface.co/datasets/marsh-mellow/assamese_wikipedia/resolve/main/README.md
1.99 kB
metadata
license: cc-by-4.0
task_categories:
- text-generation
language:
- as
size_categories:
- 10K<n<100K
Assamese Wikipedia Corpus
Dataset Description
The Assamese Wikipedia Corpus is a pure Assamese text dataset derived from the Assamese-language Wikipedia (as.wikipedia.org).
It contains cleaned plain text extracted from Wikipedia articles, stripped of all formatting, with non-Assamese characters completely removed.
This dataset is designed for language modeling, NLP research, creating Assamese specific tokenizers, and other Assamese-language processing tasks.
Data Processing
- Crawling
- Used the
mwclientPython library to interact with Wikipedia’s API. - Only collected content from the main namespace (
namespace=0). - Pages that were redirects were automatically resolved to their target articles.
- Page titles were tracked to avoid processing the same article multiple times.
- Used
mwparserfromhellto strip all MediaWiki formatting (links, templates, etc.).
- Filtering
- Applied a Unicode regex to keep only Assamese characters (
U+0980–U+09FF), Assamese digits, whitespace, and essential punctuation. - Excluded pages where more than 90% of the content was punctuation or whitespace after cleaning.
- Removed very short pages that contained too little meaningful text.
Dataset Format
The dataset is provided as a .jsonl (JSON Lines) file, with each line containing:
{"text": "অসমীয়া উইকিপিডিয়াৰ এটি প্ৰবন্ধৰ উদাহৰণ ..."}
Example Usage
from datasets import load_dataset
# Load the dataset
dataset = load_dataset("marsh-mellow/assamese_wikipedia")
# Access the first example
print(dataset["train"][0]["text"])
License
The text in this dataset originates from Assamese Wikipedia, which is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License (CC BY-SA 4.0) License.