senticr / SentiCR

GNU General Public License v3.0
21 stars 23 forks source link

polarity result is -1 and 0 #7

Open vahidsoheilkish opened 4 years ago

vahidsoheilkish commented 4 years ago

Why in test sentences the sentiment analysis polarity response -1 and 0 ? I need three polarity (positive , negative and neutral) What should i do ?

mswillus commented 3 years ago

Hi @darklord47, The oracle.xlsx only contains polarities of -1 and 0 so it is not surprising that the predictions only give you -1 and 0. I used a training set from Zhang et al. which also contains 1 and for my use case this seems to work great. You can find the training data here

Note that I am not one of the authors/creators of the paper/tool so you might want to contact the authors for a definite answer.

vahidsoheilkish commented 3 years ago

hi @mswillus , thank you so much. do you know which version of Python i want? SentiCR has error. and I can't run Senti4SD :(

moalshak commented 8 months ago

Hi @mswillus @vahidsoheilkish , im pretty sure the work for SentiCR mentions having a three polarity sentiment, not just -1 and 0.