Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Quick question. How does your sentiment analysis treat the following two sentences?

I fucking hate this thing.

VS

I fucking love this thing.



Looks like it's using hardcoded word/phrase scores based on AFINN-165[0] Your example is actually built in: https://github.com/thisandagain/sentiment/blob/251bea96190ec...

[0]: http://www2.imm.dtu.dk/pubdb/views/publication_details.php?i...


I just ran this though and "I fucking hate this thing" has a -7 score, and "I fucking love this thing" is -1. "Fucking" and "hate" is negative, but "love" is positive and adds to the score. It would be improved if it could tell the difference, "fuck" itself definitely sounds negative but "fucking" can almost mean anything


>this shit is wayyy too fucking cool....next snapchat!

>-8 sentiment, gailees 5 years ago in reply to "Show HN: Vinepeek - watch the world in realtime in 6 second snippets"

Like that?


It would have to somehow know that "fucking" in this case is being used as an adverb similar to "really", e.g "I really love dogs".

Another tough one would be "I don't fucking hate dogs", which actually means you like them. The sentence needs to be parsed together, not word for word :)


"I don't fucking hate dogs"

A double negative is a positive.


This does kind of start to adopt a counter-accusative tone, which could be interpreted as negative. Though it would entirely depend on context. The expletive just makes it sound angry overall.


"I don't fucking hate dogs!!" sounds like something yelled with a raised fist-finger in a dispute about dog shit on the lawn between neighbours in some lowly apartment complex.


Technically this isn't a double negative, but you are right that the negative connotation of "hate" is reversed by "don't".

"I don't have nothing" is a double negative. In "proper" English (whatever that means ;p) , the correct phrasing would be "I don't have anything" or "I have nothing".




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: