Finding Sentiments of Topics in BERTopic
Hi Maarteen,
I am using BERTopic to do topic modeling on a dataset. I also want to do sentiment analysis and I can do it with using NLTK library. But when I get topics from BERTopic algoritm, can't I find the sentiments of each topic?
I mean like below:

I am really looking forward to hearing your reply soon!
Sentiment analysis is not something that is implemented within BERTopic as that is currently outside of its scope. Having said that, the image that you created should be possible to create for topics generated within BERTopic. Let's say you created a topic model with BERTopic and that gives you back 10 different topics. To generate the image above, you can extract the main sentiment for each document in each topic and aggregate the results. These results should then give you the distribution of sentiment across each topic.
嗨马丁,
我正在使用 BERTopic 对数据集进行主题建模。我也想做情绪分析,我可以用 NLTK 库来做。但是当我从 BERTopic 算法中获取主题时,我不能找到每个主题的情绪吗?
我的意思是像下面这样:
我真的很期待很快听到你的回复!
Hello gulyazici, sorry to bother you, I am very interested in the picture(Topic-Based Review Emotions) you attached, can you tell me where it comes from? Thank you so much!
Hi, I guess, it is tableu program, from this paper: https://www.researchgate.net/publication/358796996_The_Voice_of_the_Consumer_on_sVoD_Systems_During_Covid-19_A_Service_Opportunity_Mining_Approach
Hi, I guess, it is tableu program, from this paper: https://www.researchgate.net/publication/358796996_The_Voice_of_the_Consumer_on_sVoD_Systems_During_Covid-19_A_Service_Opportunity_Mining_Approach
Pretty thanks! This worked for me.