Closed jguo1002 closed 3 years ago
I would not expect the results to be the same. One is changing the underlying text (thus changing word counts) while the other uses the emojis as matches. So the difference is in the word counts which is used in computing the polarity.
Additionally, in the second example you give you replace the words as well as use the emojis in the sentiment dictionary.
In the doc there are two approaches to deal with emojis:
The result is different.
Is there any hint about why the results are different and in what circumstance which one is better? Thanks!