News for hackers. Stuff that matters.
Re:Show HN: I ran sentiment analysis on Show HN comments and... by kunimi on Monday July 16, 2018 @07:47AM (#17540502)
Quick question. How does your sentiment analysis treat the following two sentences?

I fucking hate this thing.

VS

I fucking love this thing.

Re:Show HN: I ran sentiment analysis on Show HN comments and... by supermdguy on Monday July 16, 2018 @12:57PM (#17542811)
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...

Re:Show HN: I ran sentiment analysis on Show HN comments and... by walz on Monday July 16, 2018 @03:50PM (#17544483)
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
Re:Show HN: I ran sentiment analysis on Show HN comments and... by qbrass on Monday July 16, 2018 @12:40PM (#17542646)
>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?

Re:Show HN: I ran sentiment analysis on Show HN comments and... by anoncoward111 on Monday July 16, 2018 @07:58AM (#17540569)
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 :)

Re:Show HN: I ran sentiment analysis on Show HN comments and... by yeleti on Monday July 16, 2018 @08:17AM (#17540665)
"I don't fucking hate dogs"

A double negative is a positive.

Re:Show HN: I ran sentiment analysis on Show HN comments and... by rectangletangle on Monday July 16, 2018 @11:23AM (#17541993)
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.
Re:Show HN: I ran sentiment analysis on Show HN comments and... by blattimwind on Monday July 16, 2018 @02:56PM (#17543933)
"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.
Re:Show HN: I ran sentiment analysis on Show HN comments and... by anoncoward111 on Monday July 16, 2018 @09:30AM (#17541097)
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".