Hi,
I use sentiment analysis for testing purposes, and I found something with composed words.
I have this code :
require "cadmium"
sentiment = Cadmium.sentiment
pp sentiment.analyze "I realy don't like mosquitoes"
pp "I realy don't like mosquitoes".is_negative?
The result is :
{score: 2,
comparative: 0,
tokens: ["I", "realy", "do", "n't", "like", "moskitoes"],
words: ["like"],
positive: ["like"],
negative: []}
false
Here, the don't is not followed.
I know is a bad English, but it's something you can found on twitter.
I don't know if I'm using it in a wrong way.
Hi,
I use sentiment analysis for testing purposes, and I found something with composed words.
I have this code :
The result is :
Here, the
don'tis not followed.I know is a bad English, but it's something you can found on twitter.
I don't know if I'm using it in a wrong way.