KS_Dataset_samples / README.md
Omarrran's picture
Update README.md
b92b99f verified
|
Raw History Blame Contribute Delete
6.59 kB
---
language:
- ks
language_details: kas_Arab
pretty_name: Kashmiri Sentences (KS Sentences)
license: other # TODO: set the actual license (e.g. cc-by-4.0)
size_categories:
- 10K<n<100K
task_categories:
- text-generation
- fill-mask
task_ids:
- language-modeling
- masked-language-modeling
multilinguality:
- monolingual
annotations_creators:
- no-annotation
source_datasets:
- original
tags:
- kashmiri
- koshur
- low-resource
- perso-arabic-script
- monolingual-corpus
configs:
- config_name: default
data_files:
- split: train
path: ks_Sentences.xlsx
---
# Dataset Card for Kashmiri Sentences
## Dataset Summary
**Kashmiri Sentences** is a monolingual corpus of **23,727 Kashmiri (Koshur) sentences** in the
Perso-Arabic script (`kas_Arab`). Each row holds a single sentence or short passage. The topics
include places in Jammu & Kashmir (Srinagar, Pahalgam, Kargil, Rajouri, Jammu), culture and
handicrafts (walnut-wood carving, silverware, folklore), farming, health care, technology and
e-governance, sports, religious heritage and Sufi/mystical thought.
The text uses the full Kashmiri orthography. That includes the language-specific vowel signs and
diacritics (for example `ٲ`, `ٕ`, `ٔ`, `ٚ`, `ۍ`, `ٮ۪`, `ۄ`, `ۅ`, `ٛ`), which many web-crawled Kashmiri
sources drop. This makes the dataset useful for building Kashmiri language models, tokenizers and
text-processing tools.
## Supported Tasks
- **Language modeling / continued pretraining**: causal or masked LM training on Kashmiri text.
- **Tokenizer training and evaluation**: fertility (tokens per word) and coverage of Kashmiri diacritics.
- **Text normalization and spell-checking**: the text is rich in diacritics and gives reference spellings.
- **Downstream seed data**: a source of sentences for translation, annotation or instruction-tuning work.
## Languages
- Kashmiri (`ks`, ISO 639-3 `kas`), Perso-Arabic script (`kas_Arab`).
- About 99.9% of alphabetic characters are in the Arabic Unicode block. A small number of rows
(143) contain Latin characters, and 1,095 contain digits.
## Dataset Structure
### Data Files
| File | Format | Sheet | Rows |
|---|---|---|---|
| `ks_Sentences.xlsx` | Excel (OOXML) | `Sheet1` | 23,727 (plus header) |
### Data Fields
| Field | Type | Description |
|---|---|---|
| `KS_sentences` | `string` | One Kashmiri sentence or short passage in Perso-Arabic script. |
### Data Instance
```json
{
"KS_sentences": "رنبیریشور مٔنٛدِرَس سۭتۍ جوٚمٕکۍ تٲریٖخی منٛدر چھِ علاقٕک مذہبی رٮ۪وایتَن تہٕ تعمیٖرٲتی طرزَن مُتعلِق بصیرت فراہم کران۔"
}
```
*(Rough meaning: "Jammu's historic temples, along with the Ranbireshwar temple, give insight into
the region's religious traditions and architectural styles.")*
### Data Splits
The dataset comes as a single split (`train`). No validation or test split is predefined. For
evaluation we suggest a random held-out split (for example 98/1/1).
## Dataset Statistics
| Statistic | Value |
|---|---|
| Sentences (non-empty rows) | 23,727 |
| Exact duplicates | 0 |
| Total words (whitespace-split) | 465,995 |
| Total characters | 2,700,628 |
| Unique word types | 44,259 |
| Words per row: min / median / mean / max | 1 / 21 / 19.6 / 42 |
| Characters per row: min / mean / max | 4 / 113.8 / 200 |
| Rows ending in `۔` (Urdu/Kashmiri full stop) | 21,039 (88.7%) |
| Rows ending in `؟` (question mark) | 139 |
| Combining diacritic marks | 350,022 |
**Length distribution (words per row)**
| Words | Rows |
|---|---|
| 1–4 | 896 |
| 5–9 | 3,599 |
| 10–14 | 3,405 |
| 15–19 | 2,893 |
| 20–24 | 3,966 |
| 25–29 | 5,332 |
| 30–34 | 3,350 |
| 35–39 | 280 |
| 40+ | 6 |
## Dataset Creation
### Curation Rationale
Kashmiri is a low-resource language with very little clean digital text, especially text written
with correct Kashmiri-specific diacritics. This corpus aims to provide clean, orthographically rich
Kashmiri sentences for NLP research and model development.
### Source Data
TODO: describe how the sentences were collected or produced (for example authored, translated,
taken from books or news, or machine-generated and then post-edited), and by whom.
### Annotations
The dataset has no annotations. It is raw text only.
### Personal and Sensitive Information
The sentences are mostly general descriptions of places, culture and public topics. Named places
and public institutions appear. No personal data was found in the sample we reviewed, but the
corpus has not been audited systematically.
## Considerations for Using the Data
### Known Limitations and Quality Notes
- **Possible truncation at 200 characters.** No row is longer than 200 characters. 126 rows are
exactly 200 characters long, and some of these end mid-word, which suggests a hard length cutoff
during collection. If you need complete sentences, filter out or repair rows of 200 characters.
- **Missing terminal punctuation.** 2,151 rows do not end in sentence-final punctuation
(`۔`, `؟`, `.`, `?`, `!`, `"`). Some of these are fragments or truncated passages.
- **Very short rows.** 437 rows have 3 words or fewer (for example headings or phrases).
- **Multi-sentence rows.** Some rows contain more than one sentence. "Sentence" here means a row,
not a strictly segmented single sentence.
- **Spelling variation.** Some words appear in more than one spelling (for example `چھُ` / `چُھ`,
`سۭتۍ` / `سۭتہِ`). Normalize before computing word-level statistics if needed.
- **Topic skew.** The content leans towards descriptive and informational prose about Jammu &
Kashmir. It contains little conversational, dialectal or colloquial language.
### Social Impact
The corpus supports digital tools for a language that is under-served by current NLP systems.
Models trained on it may pick up the topical and stylistic biases noted above.
## Loading the Data
```python
import pandas as pd
df = pd.read_excel("ks_Sentences.xlsx") # requires openpyxl
sentences = df["KS_sentences"].dropna().tolist()
```
With 🤗 Datasets:
```python
from datasets import Dataset
import pandas as pd
ds = Dataset.from_pandas(pd.read_excel("ks_Sentences.xlsx"))
```
### Licensing Information
TODO: above card see
### Citation Information
```bibtex
@misc{ks_sentences_2026,
title = {Kashmiri Sentences: A Kashmiri (kas\_Arab) Sentence Corpus},
year = {2026},
note = {23,727 Kashmiri sentences in Perso-Arabic script}
}
```