arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2406.00867cs.CLcs.AI
收藏

波斯语的正式风格转换

Formality Style Transfer in Persian

Shahid Beheshti University(沙希德·贝赫什提大学);Queen Mary University of London(伦敦玛丽女王大学)

Parastoo Falakaflaki, Mehrnoush Shamsfard

AI总结:

本研究提出基于Fa-BERT架构并结合一致性学习与动态加权的新模型Fa-BERT2BERT,通过新指标评估证明其在波斯语正式风格转换任务上优于传统方法,显著提升了NLP应用的准确性与功能。

摘要:

本研究探讨了波斯语的正式风格转换,该问题在数字平台上非正式语言日益普及的背景下尤为相关,这给现有的自然语言处理(NLP)工具带来了挑战。目标是将非正式文本转换为正式文本,同时保留原意,并解决词汇和句法上的差异。我们引入了一种基于Fa-BERT架构的新模型Fa-BERT2BERT,结合了一致性学习和基于梯度的动态加权。该方法提升了模型对句法变化的理解,在训练过程中有效平衡了损失组件。我们使用旨在准确衡量句法和风格变化的新指标,对Fa-BERT2BERT与现有方法进行了评估。结果表明,我们的模型在包括BLEU、BERT score、Rouge-l及所提指标在内的多种指标上优于传统技术,凸显了其巧妙应对波斯语风格转换复杂性的能力。本研究通过提升NLP模型的准确性和功能,为波斯语处理做出了重大贡献,从而支持开发更高效可靠的NLP应用,有效处理语言风格转换,进而简化内容审核、增强数据挖掘结果并促进跨文化交流。

英文摘要:

This study explores the formality style transfer in Persian, particularly relevant in the face of the increasing prevalence of informal language on digital platforms, which poses challenges for existing Natural Language Processing (NLP) tools. The aim is to transform informal text into formal while retaining the original meaning, addressing both lexical and syntactic differences. We introduce a novel model, Fa-BERT2BERT, based on the Fa-BERT architecture, incorporating consistency learning and gradient-based dynamic weighting. This approach improves the model's understanding of syntactic variations, balancing loss components effectively during training. Our evaluation of Fa-BERT2BERT against existing methods employs new metrics designed to accurately measure syntactic and stylistic changes. Results demonstrate our model's superior performance over traditional techniques across various metrics, including BLEU, BERT score, Rouge-l, and proposed metrics underscoring its ability to adeptly navigate the complexities of Persian language style transfer. This study significantly contributes to Persian language processing by enhancing the accuracy and functionality of NLP models and thereby supports the development of more efficient and reliable NLP applications, capable of handling language style transformation effectively, thereby streamlining content moderation, enhancing data mining results, and facilitating cross-cultural communication.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑