|
--- |
|
dataset_info: |
|
features: |
|
- name: sentence |
|
dtype: string |
|
- name: length |
|
dtype: int64 |
|
splits: |
|
- name: train |
|
num_bytes: 295276162 |
|
num_examples: 1257973 |
|
- name: test |
|
num_bytes: 73866396 |
|
num_examples: 314494 |
|
download_size: 175584739 |
|
dataset_size: 369142558 |
|
configs: |
|
- config_name: default |
|
data_files: |
|
- split: train |
|
path: data/train-* |
|
- split: test |
|
path: data/test-* |
|
license: apache-2.0 |
|
language: |
|
- dv |
|
tags: |
|
- dhivehi |
|
- thaana |
|
- spoken |
|
- normalized |
|
pretty_name: thaana_sentences |
|
size_categories: |
|
- 1M<n<10M |
|
--- |
|
|
|
# Dhivehi Sentences Dataset |
|
|
|
This repository contains a dataset of Dhivehi (Thaaana, Maldivian) sentences processed and normalized for natural language processing tasks. |
|
|
|
***This is a small version of the [Dhivehi Sentences Dataset Extended](https://huggingface.co/datasets/alakxender/dhivehi-sentences-extended)*** |
|
|
|
## Dataset Description |
|
|
|
The dataset combines text from multiple sources: |
|
|
|
- Random News Articles |
|
|
|
The sentences have been processed to: |
|
|
|
- Split into individual sentences |
|
- Normalize numbers into Dhivehi text form |
|
- Normalize years into proper Dhivehi format |
|
- Normalize time expressions |
|
- Convert sentence endings to spoken form |
|
- Standardize common suffixes and abbreviations |
|
|
|
## Dataset Format |
|
|
|
The dataset is split into train (80%) and test (20%) sets. Each row contains: |
|
|
|
- sentence: The processed Dhivehi text |
|
- length: Character length of the sentence |
|
|
|
## Usage |
|
|
|
```python |
|
from datasets import load_dataset |
|
|
|
ds = load_dataset("alakxender/dhivehi-sentences-normalized") |
|
|
|
# Print the first 10 rows of the dataset |
|
print(ds["train"][:10]) |
|
``` |
|
|
|
--- |
|
|
|
***Note: Chunked and created using [dv-normalizer](https://pypi.org/project/dv-normalizer/) v0.1.2*** |