简体   繁体   English

是否可以使用 textblob 进行表情符号情感分析?

[英]Is it possible to do emojis sentiment analysis using textblob?

I am running sentiment analysis on WhatsApp chats using textblob and the result is working on just text but I am getting neutral results on emojis.我正在使用 textblob 对 WhatsApp 聊天进行情绪分析,结果只处理文本,但我在表情符号上得到中性结果。 Is there a way that textblob would see smiling emojis and return a positive result?有没有办法让 textblob 看到微笑的表情符号并返回积极的结果?

I'm pretty sure Textblob specializes on textual data.我很确定 Textblob 专注于文本数据。 If you want to factor in the influence of an emoji on text you can demojize (convert emoji into text) it with the help of an external library.如果您想考虑表情符号对文本的影响,您可以在外部库的帮助下对其进行演示(将表情符号转换为文本)。 Refer to a similar question regarding demojizing here.请参阅关于此处demojizing 的类似问题。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM