PersianPunc: 一个大规模数据集和基于BERT的方法用于波斯语标点恢复
PersianPunc: A Large-Scale Dataset and BERT-Based Approach for Persian Punctuation Restoration
AI总结:
PersianPunc提出了一种基于BERT的轻量级方法,用于波斯语标点恢复,实现了91.33%的宏平均F1得分,同时保持了实时应用的效率。
摘要:
标点恢复对于提高自动语音识别(ASR)输出的可读性和下游应用的实用性至关重要,但在波斯语中仍然鲜有人研究。我们介绍了PersianPunc,一个包含1700万样本的大规模高质量数据集,用于波斯语标点恢复,该数据集是通过系统地聚合和过滤现有文本资源构建的。我们将标点恢复制定为一个词级序列标注任务,并对ParsBERT进行微调以获得强性能。通过比较评估,我们证明虽然大型语言模型可以执行标点恢复,但它们存在关键限制:过度纠正倾向,导致超出标点插入的不期望的编辑(尤其对语音到文本流水线来说是个问题)以及显著更高的计算需求。我们的轻量级基于BERT的方法在我们的测试集上实现了宏平均F1得分为91.33%,同时保持了适用于实时应用的效率。我们公开了我们的数据集(https://huggingface.co/datasets/MohammadJRanjbar/persian-punctuation-restoration)和模型(https://huggingface.co/MohammadJRanjbar/parsbert-persian-punctuation),以促进未来波斯语NLP的研究,并提供一个适用于其他形态丰富、低资源语言的可扩展框架。
英文摘要:
Punctuation restoration is essential for improving the readability and downstream utility of automatic speech recognition (ASR) outputs, yet remains underexplored for Persian despite its importance. We introduce PersianPunc, a large-scale, high-quality dataset of 17 million samples for Persian punctuation restoration, constructed through systematic aggregation and filtering of existing textual resources. We formulate punctuation restoration as a token-level sequence labeling task and fine-tune ParsBERT to achieve strong performance. Through comparative evaluation, we demonstrate that while large language models can perform punctuation restoration, they suffer from critical limitations: over-correction tendencies that introduce undesired edits beyond punctuation insertion (particularly problematic for speech-to-text pipelines) and substantially higher computational requirements. Our lightweight BERT-based approach achieves a macro-averaged F1 score of 91.33% on our test set while maintaining efficiency suitable for real-time applications. We make our dataset (https://huggingface.co/datasets/MohammadJRanjbar/persian-punctuation-restoration) and model (https://huggingface.co/MohammadJRanjbar/parsbert-persian-punctuation) publicly available to facilitate future research in Persian NLP and provide a scalable framework applicable to other morphologically rich, low-resource languages.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。