textblob 情感分析_如何使用TextBlob在Python中构建Twitter情感分析器

textblob 情感分析

by Arun Mathew Kurian

通过阿伦·马修·库里安(Arun Mathew Kurian)

如何使用TextBlob在Python中构建Twitter情感分析器 (How to build a Twitter sentiment analyzer in Python using TextBlob)

This blog is based on the video Twitter Sentiment Analysis — Learn Python for Data Science #2 by Siraj Raval. In this challenge, we will be building a sentiment analyzer that checks whether tweets about a subject are negative or positive. We will be making use of the Python library textblob for this.

该博客基于Twitter情绪分析视频-Siraj Raval的《 学习Python for Data Science#2》 。 在这一挑战中,我们将构建一个情绪分析器,以检查有关某个主题的推文是否为正面或负面。 我们将为此使用Python库textblob。

Sentiment Analysis, also called opinion mining or emotion AI, is the process of determining whether a piece of writing is positive, negative, or neutral. A common use case for this technology is to discover how people feel about a particular topic. Sentiment analysis is widely applied to reviews and social media for a variety of applications.

情感分析,也称为观点挖掘或情感AI,是确定某篇文章是正面的,负面的还是中立的过程。 该技术的一个常见用例是发现人们对特定主题的感觉。 情绪分析已广泛应用于评论和社交媒体,具有多种应用。

Sentiment analysis can be performed in many different ways. Many brands and marketers use keyword-based tools that classify data (i.e. social, news, review, blog, etc.) as positive/negative/neutral.

情感分析可以通过许多不同的方式进行。 许多品牌和营销商使用基于关键字的工具将数据(即社交,新闻,评论,博客等)分类为正面/负面/中性。

Automated sentiment tagging is usually achieved through word lists. For example, mentions of ‘hate’ would be tagged negatively.

自动情感标记通常是通过单词列表来实现的。 例如,对“仇恨”的提及会被加上负面标签。

There can be two approaches to sentiment

  • 0
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值