You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran below scenarios based on two different locations in Hong Kong. 西環 has less significant importance than 中環 but it's giving lower sentiment when there is destroy has been made.
Why is that?
Scenario One
text = SnowNLP(u'佔領中環')
sent = text.sentences
for sen in sent:
s = SnowNLP(sen)
print(s.sentiments)
Output: 0.4779422126042062
Scenario Two
text = SnowNLP(u'佔領西環')
sent = text.sentences
for sen in sent:
s = SnowNLP(sen)
print(s.sentiments)
0.36230418602446435
Please have a look. Thanks.
The text was updated successfully, but these errors were encountered:
popohoma
changed the title
Occupy less important district has less lower sentiment?
Occupy less important district has lower sentiment?
Aug 16, 2019
HI Team,
I ran below scenarios based on two different locations in Hong Kong. 西環 has less significant importance than 中環 but it's giving lower sentiment when there is destroy has been made.
Why is that?
Scenario One
text = SnowNLP(u'佔領中環')
sent = text.sentences
for sen in sent:
s = SnowNLP(sen)
print(s.sentiments)
Output: 0.4779422126042062
Scenario Two
text = SnowNLP(u'佔領西環')
sent = text.sentences
for sen in sent:
s = SnowNLP(sen)
print(s.sentiments)
0.36230418602446435
Please have a look. Thanks.
The text was updated successfully, but these errors were encountered: