CodeIsAbstract/sanskrit-sandhi-samas-v3
Sanskrit Sandhi + Samas Boundary Dataset — V3 The canonical merged training dataset for the sanskrit-sandhi-boundary model: sentence-level external sandhi (corpus) + grammar-generated samas (compounds, all 7 types) in one file. Composition Source Rows Description sandhi_corpus 741,803 running-text word boundaries (external sandhi) from sanskrit-sandhi-boundaries-v2 samas 258,408 grammar-generated compounds (7 types, laukik + alaukik vigraha) from… See the full description on the dataset page: https://huggingface.co/datasets/CodeIsAbstract/sanskrit-sandhi-samas-v3.
Sanskrit Sandhi + Samas Boundary Dataset — V3
The canonical merged training dataset for the sanskrit-sandhi-boundary model: sentence-level external sandhi (corpus) + grammar-generated samas (compounds, all 7 types) in one file.
Composition
Design rationale
The splitter's task at a seam is phonetically identical for external sandhi and internal compound boundaries — the model must fire at every valid seam and stay quiet inside single words. Merging (not split-training) lets the shared phonetics reinforce both, while the samas rows teach stem-co-occurrence for the identity-concat class (no phonetic signal) and the corpus rows keep the real distribution. See benchmarks/PLAN_SAMAS.md.
Schema (per row)
Samasa type coverage (in the samas portion)
Rebuilding
# samas dataset (deterministic, seed 42)
python3 benchmarks/build_samas_data.py --out data/samas_V1.jsonl
# merged dataset (deterministic, seed 42)
python3 benchmarks/merge_datasets.py \
--sandhi data/train_V2_full.jsonl \
--samas data/samas_V1.jsonl \
--out data/train_V3_sandhi_samas.jsonlRelated
- Samas-only: `sanskrit-samas-v1`
- Sandhi-only: `sanskrit-sandhi-boundaries-v2`
- Benchmark: `sanskrit-sandhi-boundary-v2` (model)
