Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Occupy less important district has lower sentiment? #106

Open
popohoma opened this issue Aug 16, 2019 · 0 comments
Open

Occupy less important district has lower sentiment? #106

popohoma opened this issue Aug 16, 2019 · 0 comments

Comments

@popohoma
Copy link

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.

@popohoma popohoma changed the title Occupy less important district has less lower sentiment? Occupy less important district has lower sentiment? Aug 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant