课程: Complete Guide to NLP with R

今天就学习课程吧!

今天就开通帐号,24,700 门业界名师课程任您挑!

Sentiment datasets

Sentiment datasets

- [Instructor] Dictionaries are at the heart of sentiment analysis. Dictionaries provide quantifiable values for the emotional content of different words. These dictionaries are provided by different groups and are the results of different methodologies. It's important to understand which dictionary you are using when you do sentiment analysis, and to make sure to use the dictionary that's most appropriate for the research that you're conducting. So let's take a minute and become familiar with some of the different dictionaries that are available for sentiment analysis. Now I'm going to show you the contents of some of these dictionaries, and the easiest way for me to do that is to use something called quanteda. So in line seven and eight, I've brought that package in. Now we're ready to look at the AFINN dated dictionary, that's in line 12. Down in the console in the lower left-hand corner, you can see that AFFIN has…

内容