Sindhi_Sentiment_dataset
收藏资源简介:
信德语情感分析数据集是一个用于文本分类的标注数据集,专门针对低资源南亚语言信德语(سنڌي),该语言主要在巴基斯坦信德省使用,拥有超过3000万使用者。数据集包含4,420个使用波斯-阿拉伯文字母书写的信德语句子,每个样本包含文本和情感标签(积极、消极、中性三类),被划分为训练集(3,536个样本)和测试集(884个样本),标签分布大致均衡。数据集的构建融合了多种方法:第一阶段从信德语报纸语料库手动收集句子并采用半监督伪标注流程;第二阶段通过回译进行数据增强;第三阶段使用LLM进行受控生成。该数据集适用于情感分类等NLP任务,可用于训练传统机器学习模型或微调多语言Transformer模型,但存在一些局限性,如口语代表性不足、翻译伪影等。
The Sindhi Sentiment Analysis Dataset is an annotated dataset for text classification, specifically designed for the low-resource South Asian language Sindhi (سنڌي), which is primarily used in the Sindh province of Pakistan with over 30 million speakers. It contains 4,420 Sindhi sentences written in the Perso-Arabic script, each with text and sentiment labels (Positive, Negative, Neutral), divided into a training set (3,536 samples) and a test set (884 samples), with roughly balanced label distribution. The dataset was constructed using multiple methods: the first stage involved manual collection from Sindhi newspaper corpora and a semi-supervised pseudo-labeling process; the second stage used back-translation for data augmentation; the third stage employed LLM-controlled generation. It is suitable for NLP tasks such as sentiment classification and can be used to train traditional machine learning models or fine-tune multilingual Transformer models, though it has limitations like underrepresentation of colloquial language and translation artifacts.
数据集概述
Sindhi Sentiment Analysis Dataset 是一个面向信德语(Sindhi)的情感分析标注数据集,包含 4,420 个句子,分为三类情感标签:正面(Positive)、负面(Negative) 和 中性(Neutral)。该数据集旨在支持低资源语言信德语的 NLP 研究与模型训练。
- 语言:信德语(Sindhi,ISO 639-1 代码
sd),使用波斯-阿拉伯字母变体,主要通行于巴基斯坦信德省。 - 许可证:Creative Commons Attribution 4.0 International (CC BY 4.0)
- 版本:v2
- 数据集规模:1,000 < n < 10,000
支持任务
| 任务 | 类型 |
|---|---|
| 情感分类 | 三分类:正面 / 负面 / 中性 |
| 文本分类 | 单语言(信德语) |
数据结构
数据字段
| 字段 | 类型 | 描述 |
|---|---|---|
text |
string |
信德语句子(波斯-阿拉伯字母变体书写) |
label |
string |
情感标签:Positive、Negative 或 Neutral |
数据划分
| 划分 | 样本数 |
|---|---|
| 训练集(Train) | 3,536 |
| 测试集(Test) | 884 |
| 总计 | 4,420 |
标签分布
| 标签 | 训练集 | 测试集 | 总计 |
|---|---|---|---|
| Positive | 1,201 | 300 | 1,501 |
| Negative | 1,200 | 300 | 1,500 |
| Neutral | 1,135 | 284 | 1,419 |
数据集构建
数据集分三个阶段构建,以确保质量和多样性:
- 第一阶段——手动收集(1,898 句):从信德语报纸 Kawish 和 AwamiAwaz 的语料库中收集句子。使用基于字符 n-gram(2–6)和词 n-gram(1–2)的 LinearSVC 模型进行半监督伪标签生成,保留集外测试集准确率达 94.73%,并通过人工验证高置信度预测。
- 第二阶段——回译增强(+1,941 句):利用 LLaMA 3.1 (8B) 模型通过 Groq API 重新表述现有英文翻译,再经由 Google Translate 回译为信德语。每条生成句子继承原始标签,无需重新标注。经过长度比例(0.4–2.5 倍)、最少 4 个单词及人工抽样检查等质量过滤。
- 第三阶段——受控 LLM 生成(+581 句):使用 LLaMA 3.1 (8B) 模型,结合报纸风格的提示,按主题(政治、农业、教育、健康、天气)和情感类别生成句子。以真实数据集示例作为风格参考,过滤条件包括信德语字符占比(>50%)和最少词数。
来源语料库
| 来源 | 类型 | 语言 |
|---|---|---|
| Kawish Daily (روزنامه ڪاوش) | 报纸 | 信德语 |
| AwamiAwaz (عوامي آواز) | 报纸 | 信德语 |
数据样本
| text | label |
|---|---|
| اڄ جو ڏينهن تمام سٺو آهي | Positive |
| مون پنهنجو امتحان پاس ڪيو | Positive |
| هن ملڪ ۾ غربت وڌي رهي آهي | Negative |
| ٻارن جو بچپن چوري ٿي ويو آهي | Negative |
| اڄ موسم ٺيڪ آهي | Neutral |
| حڪومت نئين منصوبو جاري ڪيو | Neutral |
局限性
- 句子主要采用正式报纸语体,日常口语化信德语代表性不足。
- 回译句子可能带有 Google Translate 的轻微翻译痕迹。
- LLM 生成的句子虽经过过滤和抽样检查,但偶尔可能包含不自然的表达。
- 数据集未均衡覆盖所有信德语方言。
- 情感类别内的子主题平衡无法保证。
引用
若使用本数据集,请引用以下 BibTeX:
bibtex @dataset{nawazmahar2025sindhi, author = {Ali Nawaz Mahar}, title = {Sindhi Sentiment Analysis Dataset}, year = {2025}, publisher = {Hugging Face}, version = {2}, url = {https://huggingface.co/datasets/alinawazmahar/Sindhi_Sentiment_dataset}, license = {CC-BY-4.0} }




