Journal of Computer Applications
Next Articles
Received:
Revised:
Online:
Published:
帅健1,王中卿2,陈嘉沥1
通讯作者:
基金资助:
Abstract: The task of aspect-based sentiment analysis is receiving increasing attention from people. An aspect-based sentiment analysis method based on code generation was proposed to address the limitations of current mainstream methods that cannot fully utilize semantic relationships and learn the connections between various emotional elements. Firstly, each emotional element was associated with the programming language; Secondly, the experimental dataset was constructed into a data style for code generation task which can better express the relationships between various emotional elements according to the principle of correspondence; Finally, the powerful performance of current large language models and the excellent performance of code generation methods were utilized in event extraction tasks to obtain more accurate results. To verify the effectiveness of the proposed method, comparative experiments were conducted using paraphrase, Seq2Path and OTG (Opinion Tree Generation) methods. The experimental results show that the proposed method achieves a 3 percentage point higher performance than the OTG method on the restaurant dataset in the aspect-based sentiment analysis task, with better results.
Key words: aspect-based sentiment analysis, structure generation, code generation, pre-trained generation models, quadruple extraction
摘要: 细粒度情感分析任务越来越受到人们的关注。针对目前主流的方法无法充分利用语义关系且无法充分学习各情感元素之间联系的局限,提出一种基于代码生成的细粒度情感分析方法。首先,将各情感元素与编程语言对应起来;其次,按照对应好的原则将实验数据集构造成代码生成任务的数据样式,代码样式可以更好地表达各情感元素之间的联系;最后,利用当前大语言模型的强大性能及代码生成方法在事件抽取任务上的良好表现以得到更准确的结果。为了验证所提方法的有效性,使用Paraphrase、Seq2Path、OTG(Opinion Tree Generation)方法进行对比实验。实验结果表明,所提方法在细粒度情感分析任务中的餐厅数据集上比OTG方法高了3个百分点,具有更好的效果。
关键词: 关键词: 细粒度情感分析, 结构化生成, 代码生成, 预训练生成模型, 四重提取
CLC Number:
TP391.1
帅健 王中卿 陈嘉沥. 基于代码生成的细粒度情感分析方法[J]. 《计算机应用》唯一官方网站, DOI: 10.11772/j.issn.1001-9081.2024060885.
0 / Recommend
Add to citation manager EndNote|Ris|BibTeX
URL: https://www.joca.cn/EN/10.11772/j.issn.1001-9081.2024060885