Hi Randerson. I used your approach on the video with just one modification: instead of getting an article as you did I just used the hardcoded phrase "I do not like him". The result was 0 (zero), which means neutral. Is there any particularity in this case? Because the result should be a number below zero (sentiment negative), right?
@utkar15 жыл бұрын
I tried "I do not like him" - it gave me neutral as well. Though I also tried some more texts, values are as follows: "I hate you" : -1 (negative) "I love you": 0.625 (positive) "I love you very much" : 0.38 (positive) # i was expecting this to be higher though, I wonder what text will get us a full +1 sentiment score
@destinyjames61174 жыл бұрын
Thank you! However, looks like its not so related to machine learning, but the pretrained machine learning textblob in python.. Was expecting to create a model ourselves, great video though.
@shivanicherukuru13144 жыл бұрын
how can we give a text file instead of giving a url?
@sumanmishra33064 жыл бұрын
I have one doubt, can we divide every word doing sentimental analysis?
@amardipjha4604 жыл бұрын
Sir, when i typed the code editor till the code text = article.summary print(text) then doesn't print the Summary of aricle so Please Help me on my Gmail. Thanking you.
@kavindudananjaya32903 жыл бұрын
this is not machine learning and there is another approach that really means the 'Sentiment analysis with machine learning', this is just the rule based lexicon method
@jasontompkins81803 жыл бұрын
Subscribed!!
@samscholes97273 жыл бұрын
When I run this I get "Article is not defined" :/
@hamidrezabarari1555 жыл бұрын
thank you . so useful :)
@Eebbistuu5 жыл бұрын
nice work, what we do if it is not English text
@zanepage31235 жыл бұрын
Waliin Waliif you should be able to do the same thing
@ricardohuaman63194 жыл бұрын
thank you so much , I got a question these code work even it is a Spanish text?