|
|
--- |
|
|
tags: |
|
|
- low-resource-language |
|
|
- mixed-script |
|
|
pretty_name: Sinhala Mixed-Script Benchmark Dataset |
|
|
size_categories: |
|
|
- n<1K |
|
|
configs: |
|
|
- config_name: default |
|
|
data_files: |
|
|
- split: data |
|
|
path: data/data* |
|
|
dataset_info: |
|
|
features: |
|
|
- name: text |
|
|
dtype: string |
|
|
splits: |
|
|
- name: data |
|
|
num_examples: 500 |
|
|
language: |
|
|
- si |
|
|
--- |
|
|
## Dataset Description |
|
|
|
|
|
This dataset contains 500 authentic Sinhala mixed-script sentences in which Unicode Sinhala and Romanized Sinhala scripts naturally co-occur within the same text. The sentences were collected from social media platforms, blogs and online forums, preserving real-world script-switching patterns without synthetic manipulation. The dataset is designed to support research on language model robustness, script mixing, and low-resource multilingual NLP, particularly under mixed-script conditions. |
|
|
|
|
|
|
|
|
## Dataset Structure |
|
|
|
|
|
The dataset contains a single text field: |
|
|
|
|
|
`text`: A naturally occurring Sinhala mixed-script sentence containing both Unicode and Romanized scripts. |
|
|
|
|
|
## Statistics |
|
|
|
|
|
- Number of sentences: 500 |
|
|
- Mean sentence length: 9.49 ± 4.03 tokens |
|
|
- Vocabulary size: 2,262 unique tokens |
|
|
|
|
|
## How to Use the Dataset |
|
|
|
|
|
You can load the dataset using the Hugging Face datasets library: |
|
|
|
|
|
```python |
|
|
from datasets import load_dataset |
|
|
|
|
|
dataset = load_dataset("Minuri/sinhala-mixedscript") |
|
|
example = dataset["data"][0] |
|
|
print(example["text"]) |