Stairway to heaven: An emotional journey in Divina Commedia with threshold-based Naïve Bayes classifier

Maurizio Romano, Claudio Conversano
{"title":"Stairway to heaven: An emotional journey in Divina Commedia with threshold-based Naïve Bayes classifier","authors":"Maurizio Romano,&nbsp;Claudio Conversano","doi":"10.1016/j.mlwa.2024.100613","DOIUrl":null,"url":null,"abstract":"<div><div>Computational literary uses data science and computer science techniques to study literature. In this framework, we investigate how an expert system can acquire knowledge from the specific content of a narrative text without any pre-existing information about it. We utilize the Threshold-based Naïve Bayes (Tb-NB) classifier to analyze the content of Dante Alighieri’s Divina Commedia poem. Tb-NB is a probabilistic data-driven model that predicts the polarity of a binary response based on the probability of an event occurring given certain features, and assigns a log-likelihood score to each word in a text. Our first task is understanding if and how the links between lexical forms and meanings characterize the three parts of the poem (Inferno, Purgatorio and Paradiso) in order to predict if a Canto belongs to Inferno or Paradiso based on its specific content, and to determine if a Canto of Purgatorio is more similar to those of Inferno or to those of Paradiso. We show Tb-NB outperform other similar approaches and achieves the same performance of Random Forest (F1-score <span><math><mo>=</mo></math></span> 0.985) but providing much more information to interpret the specific content and the lexical forms used by Dante Alighieri in its poem. The Tb-NB’s scores are the base of knowledge for the implementation of an expert system, like a search engine, that can help users to identify the most informative verses of a Canto or by better comprehend or discover the content of the poem from a word related to a particular feeling or emotion.</div></div>","PeriodicalId":74093,"journal":{"name":"Machine learning with applications","volume":"19 ","pages":"Article 100613"},"PeriodicalIF":4.9000,"publicationDate":"2024-12-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Machine learning with applications","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2666827024000896","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Computational literary uses data science and computer science techniques to study literature. In this framework, we investigate how an expert system can acquire knowledge from the specific content of a narrative text without any pre-existing information about it. We utilize the Threshold-based Naïve Bayes (Tb-NB) classifier to analyze the content of Dante Alighieri’s Divina Commedia poem. Tb-NB is a probabilistic data-driven model that predicts the polarity of a binary response based on the probability of an event occurring given certain features, and assigns a log-likelihood score to each word in a text. Our first task is understanding if and how the links between lexical forms and meanings characterize the three parts of the poem (Inferno, Purgatorio and Paradiso) in order to predict if a Canto belongs to Inferno or Paradiso based on its specific content, and to determine if a Canto of Purgatorio is more similar to those of Inferno or to those of Paradiso. We show Tb-NB outperform other similar approaches and achieves the same performance of Random Forest (F1-score = 0.985) but providing much more information to interpret the specific content and the lexical forms used by Dante Alighieri in its poem. The Tb-NB’s scores are the base of knowledge for the implementation of an expert system, like a search engine, that can help users to identify the most informative verses of a Canto or by better comprehend or discover the content of the poem from a word related to a particular feeling or emotion.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
通往天堂的阶梯:基于阈值的神圣喜剧中的情感之旅Naïve贝叶斯分类器
计算文学使用数据科学和计算机科学技术来研究文学。在这个框架中,我们研究了专家系统如何在没有任何预先存在的信息的情况下从叙事文本的特定内容中获取知识。我们利用基于阈值的Naïve贝叶斯(Tb-NB)分类器对但丁的《神曲》进行了内容分析。Tb-NB是一种概率数据驱动模型,它基于给定某些特征的事件发生的概率来预测二元响应的极性,并为文本中的每个单词分配一个对数似然评分。我们的第一个任务是理解这首诗的三个部分(地狱,炼狱和天堂)的词汇形式和意义之间的联系,以及它们之间的联系是如何表征的,以便根据具体的内容来预测一章是属于地狱还是天堂,并确定炼狱的一章是与地狱的一章更相似还是与天堂的一章更相似。我们发现Tb-NB优于其他类似的方法,并达到了与随机森林相同的性能(F1-score = 0.985),但提供了更多的信息来解释但丁在其诗歌中使用的具体内容和词汇形式。Tb-NB的分数是实现专家系统的知识基础,就像搜索引擎一样,可以帮助用户识别一首诗中最具信息量的诗句,或者通过与特定感觉或情感相关的单词更好地理解或发现诗歌的内容。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
Machine learning with applications
Machine learning with applications Management Science and Operations Research, Artificial Intelligence, Computer Science Applications
自引率
0.00%
发文量
0
审稿时长
98 days
期刊最新文献
KerisRDNet: Mask-aware augmentation and residual dilated networks for cultural heritage blade classification A causal machine learning framework for analyzing the heterogeneous effects of weather conditions on arrival delays in public rail transportation Machine learning for labor market matching DAIRE: A lightweight AI model for real-time detection of Controller Area Network attacks in the Internet of Vehicles From tensors to novelties: Low-dimensional representations for anomaly detection in multispectral imagery
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1