STAR-IL / README.md
K2s-19's picture
Upload README.md with huggingface_hub
704c879 verified
|
Raw History Blame Contribute Delete
8.18 kB
---
language:
- en
- bn
- gu
- hi
- mr
- ur
- kn
- ta
- te
pretty_name: "STAR-IL: A Dataset for Style-Aware Machine Translation of Product Reviews in Indian Languages"
tags:
- machine-translation
- style-transfer
- indian-languages
- product-reviews
- e-commerce
- parallel-corpus
license: cc-by-4.0
task_categories:
- translation
size_categories:
- 10K<n<100K
---
# STAR-IL-Corpus: A Dataset for Style-Aware Machine Translation of Product Reviews in Indian Languages
Welcome to the official repository for the **STAR-IL: Style-Aware Machine Translation of Product Reviews in Indian Languages** dataset.
## Overview
STAR-IL is a novel, human-annotated parallel corpus with over 55000 samples covering English-to-Indian Language machine translation, specifically designed to address the challenge of **style preservation** in translation of product reviews. The dataset captures the colloquial, code-mixed, and domain-specific language inherent in online product reviews. It covers eight languages, namely, Hindi, Marathi, Bengali, Gujarati, Urdu, Kannada, Tamil, and Telugu.
## Dataset Statistics
The dataset comprises **55,854** total translated samples across the **Electronics** (35,797 samples) and **Fashion** (20,057 samples) domains, spanning both Indo-Aryan and Dravidian language families:
<table>
<thead>
<tr>
<th rowspan="2" align="left">Language Family</th>
<th colspan="8" align="center">Electronics</th>
<th colspan="8" align="center">Fashion</th>
</tr>
<tr>
<th colspan="5" align="center">Indo-Aryan</th>
<th colspan="3" align="center">Dravidian</th>
<th colspan="5" align="center">Indo-Aryan</th>
<th colspan="3" align="center">Dravidian</th>
</tr>
<tr>
<th align="left">Language</th>
<th align="center">Ben</th>
<th align="center">Guj</th>
<th align="center">Hin</th>
<th align="center">Mar</th>
<th align="center">Urd</th>
<th align="center">Kan</th>
<th align="center">Tam</th>
<th align="center">Tel</th>
<th align="center">Ben</th>
<th align="center">Guj</th>
<th align="center">Hin</th>
<th align="center">Mar</th>
<th align="center">Urd</th>
<th align="center">Kan</th>
<th align="center">Tam</th>
<th align="center">Tel</th>
</tr>
</thead>
<tbody>
<tr>
<td><b>Samples</b></td>
<td align="center">4391</td>
<td align="center">4491</td>
<td align="center">4486</td>
<td align="center">4489</td>
<td align="center">4471</td>
<td align="center">4488</td>
<td align="center">4490</td>
<td align="center">4491</td>
<td align="center">2400</td>
<td align="center">3199</td>
<td align="center">2199</td>
<td align="center">2200</td>
<td align="center">3963</td>
<td align="center">2199</td>
<td align="center">1697</td>
<td align="center">2200</td>
</tr>
<tr>
<td><b>Sample Length</b></td>
<td align="center">47.86</td>
<td align="center">56.55</td>
<td align="center">15.93</td>
<td align="center">14.23</td>
<td align="center">16.52</td>
<td align="center">55.13</td>
<td align="center">67.15</td>
<td align="center">61.97</td>
<td align="center">259.79</td>
<td align="center">310.23</td>
<td align="center">80.98</td>
<td align="center">72.65</td>
<td align="center">87.90</td>
<td align="center">307.15</td>
<td align="center">334.91</td>
<td align="center">355.34</td>
</tr>
<tr>
<td><b>TTR%</b></td>
<td align="center">0.26</td>
<td align="center">0.32</td>
<td align="center">6.89</td>
<td align="center">9.45</td>
<td align="center">5.72</td>
<td align="center">0.44</td>
<td align="center">0.32</td>
<td align="center">0.25</td>
<td align="center">0.10</td>
<td align="center">0.12</td>
<td align="center">3.96</td>
<td align="center">0.09</td>
<td align="center">1.82</td>
<td align="center">0.37</td>
<td align="center">0.07</td>
<td align="center">0.10</td>
</tr>
</tbody>
</table>
### Overall Summary by Language
| Language | ISO Code | Family | Electronics Samples | Fashion Samples | Total Samples |
| :--- | :---: | :--- | :---: | :---: | :---: |
| **Bengali** (`Ben`) | `bn` | Indo-Aryan | 4,391 | 2,400 | **6,791** |
| **Gujarati** (`Guj`) | `gu` | Indo-Aryan | 4,491 | 3,199 | **7,690** |
| **Hindi** (`Hin`) | `hi` | Indo-Aryan | 4,486 | 2,199 | **6,685** |
| **Marathi** (`Mar`) | `mr` | Indo-Aryan | 4,489 | 2,200 | **6,689** |
| **Urdu** (`Urd`) | `ur` | Indo-Aryan | 4,471 | 3,963 | **8,434** |
| **Kannada** (`Kan`) | `kn` | Dravidian | 4,488 | 2,199 | **6,687** |
| **Tamil** (`Tam`) | `ta` | Dravidian | 4,490 | 1,697 | **6,187** |
| **Telugu** (`Tel`) | `te` | Dravidian | 4,491 | 2,200 | **6,691** |
| **Total** | — | — | **35,797** | **20,057** | **55,854** |
## Repository Structure
The dataset is organized into distinct directories corresponding to the source data, translated data, and annotation guidelines:
```
STAR-IL-Corpus/
├── guidelines/
│ └── guidelines.pdf # Instructions used by human annotators for translating reviews
├── source_data/
│ ├── benchmark/ # Raw source reviews (TXT) for both fashion and electronics domains
│ └── training/ # Raw source reviews (TXT) for both fashion and electronics domains
└── translated_data/
├── benchmark/ # Translated reviews (CSV) across 8 target languages
└── training/ # Translated reviews (CSV) across 8 target languages
```
## Data Format
All CSV files follow the same column structure:
| Column | Description |
| :--- | :--- |
| `src` | The English product review (Source Text). |
| `tgt` | The corresponding human-annotated, style-aware target language translation. |
| `src_lang` | Language code for Source (always `English`). |
| `tgt_lang` | Language code for Target (e.g., `Hindi`, `Bengali`, `Tamil`, etc.). |
| `domain` | Product category `E`(`electronics`) or `F`(`fashion`). |
## Quick Start
You can easily load and explore the dataset using Python and Pandas:
```
import pandas as pd
# Load the benchmark dataset for a specific language (e.g., Marathi)
df_marathi = pd.read_csv("translated_data/benchmark/Marathi.csv")
# View the first few style-aware translations
print(df_marathi[['src', 'tgt', 'domain']].head())
```
## Citation
If you use the **STAR-IL dataset**, please cite our paper:
```bibtex
@inproceedings{shetye-etal-2026-star,
title = {STAR-IL: A Dataset for Style-Aware Machine Translation of Product Reviews in Indian Languages},
author = {Shetye, Ketaki and Sharma, Dipti Misra and Krishnamurthy, Parameswari},
booktitle = {Proceedings of the Fifteenth Language Resources and Evaluation Conference (LREC 2026)},
month = may,
year = {2026},
pages = {8780--8793},
address = {Palma, Mallorca, Spain},
publisher = {European Language Resources Association (ELRA)},
doi = {10.63317/4oq85vioi2tu},
abstract = {Product reviews on e-commerce platforms are a critical form of user-generated content influencing consumer decisions. However, these reviews are predominantly in English, creating accessibility barriers for non-fluent users. Existing translation models often fail to preserve domain-specific features and colloquial style, resulting in unnatural outputs. To address this, we introduce STAR-IL, a human-annotated multilingual parallel corpus for style-aware translation of product reviews. Experiments show that models fine-tuned on STAR-IL achieve an average improvement of 5.77 BLEU and 3.78 COMET points over baselines across all languages. The dataset is publicly available at https://github.com/ltrc/STAR-IL-Corpus.}
}