简体   繁体   English

如何在情感分析中对 map 方面进行评论?

[英]How to map aspects to reviews in sentiment analysis?

I am doing sentiment analysis on the aspects of food reviews in python.我正在对 python 中的食品评论方面进行情感分析。 If the review is Eg: "Biryani was good and the atmosphere was bad", it should be tagged as {[food,1],[ambience,-1]} (ie) Food should be mapped to briyani and ambience to atmosphere.如果评论是例如:“Biryani 很好,气氛很差”,它应该被标记为 {[food,1],[ambience,-1]} (即)食物应该映射到 briyani 和氛围到气氛。

Could you please help me to solve this??你能帮我解决这个问题吗? Is there any pre defined dictionaries in python to handle these food reviews to map them?? python 中是否有任何预定义的字典来处理这些对 map 的食品评论?

I am not aware of any specific food-review sentiment analysis tools/libraries for Python.我不知道 Python 有任何特定的食品评论情绪分析工具/库。 But this website lists and reviews a few popular, general-purpose sentiment analysis libraries for Python.但是这个网站列出并评论了一些流行的通用情感分析库,用于 Python。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在Python中使用NLTK对评论进行情感分析 - Sentiment analysis on reviews using NLTK in Python 如何对同一文本样本的不同主题/方面进行情感分析 - How to do sentiment analysis of different topics/aspects from the same text sample 需要帮助对客户评论和文本字符串进行情绪分析 - Need helping performing sentiment analysis on customer reviews and for a string of text 对imdb电影评论数据实施情感分析时出现问题 - Problem implementing sentiment analysis for imdb movies reviews data 仅 50% 的 RandomForestClassifier 用于好坏电影评论的情感分析 - RandomForestClassifier of only 50% for sentiment analysis of good and bad movie reviews 基于“!”的食物评论的情感分析 并向wordcloud添加标点符号? - Sentiment analysis of food reviews based on '!' and adding punctuation marks to wordcloud? 如何在 blob 中计算情感分析 - how are sentiment analysis computed in blob 如何在印尼语中使用 analysis.sentiment.polarity 判断情绪 - how to use analysis.sentiment.polarity in indonesian to judge sentiment 任何特定的python库可以对用德语或法语撰写的评论进行情感分析吗? - Any specific python library to perform sentiment analysis for reviews written in german or french please? 如何识别评论文本的情绪与评分不匹配的评论 - How to identify the reviews where the sentiment of review text does not match rating
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM