arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.06221cs.CL
收藏

基于词典与基于机器学习的情感分析比较:是否存在异常词?

A Comparison of Lexicon-Based and ML-Based Sentiment Analysis: Are There Outlier Words?

Dublin City University(都柏林城市大学)

Siddhant Jaydeep Mahajani, Shashank Srivastava, Alan F. Smeaton

AI总结:

本文比较基于词典的Hedonometer与基于机器学习的Azure在4个领域超15万文本上的情感得分,发现词的重要性因领域而异,且无系统性导致差异的异常词。

摘要:

基于词典的文本情感分析方法依赖于每个单词或词条具有预定义的权重,用以表示其情感极性。这些权重通常是人工分配的,但与基于机器学习的情感计算方法相比,其准确性尚不明确。可能存在某些词条,其情感值导致基于词典的方法产生与机器学习方法截然不同的结果。在本文中,我们使用Hedonometer(一种基于词典的技术)和Azure(一种当代基于机器学习的方法,属于Azure认知服务API系列,易于使用)对来自4个领域的超过150,000篇英文文本进行情感计算。我们使用回归模型对每个领域中文档在两种方法之间的情感得分差异进行建模,并将自变量(Hedonometer词条)作为每个词对得分差异的重要性和贡献的指标进行分析。我们的研究发现是:词的重要性取决于领域,且不存在系统性地导致情感得分差异的突出词条。

英文摘要:

Lexicon-based approaches to sentiment analysis of text are based on each word or lexical entry having a pre-defined weight indicating its sentiment polarity. These are usually manually assigned but the accuracy of these when compared against machine leaning based approaches to computing sentiment, are not known. It may be that there are lexical entries whose sentiment values cause a lexicon-based approach to give results which are very different to a machine learning approach. In this paper we compute sentiment for more than 150,000 English language texts drawn from 4 domains using the Hedonometer, a lexicon-based technique and Azure, a contemporary machine-learning based approach which is part of the Azure Cognitive Services family of APIs which is easy to use. We model differences in sentiment scores between approaches for documents in each domain using a regression and analyse the independent variables (Hedonometer lexical entries) as indicators of each word's importance and contribution to the score differences. Our findings are that the importance of a word depends on the domain and there are no standout lexical entries which systematically cause differences in sentiment scores.

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

↑