July 2018
Beginner to intermediate
406 pages
9h 55m
English
While linguistic information, as mentioned in the preceding section, will most likely help us, there is something better we can use to harvest it: SentiWordNet (http://sentiwordnet.isti.cnr.it). Simply put, it is a 13 MB file, which we have to download from the site, unzipped, and put it into the data directory of the Jupyter notebook; it assigns most of the English words a positive and negative value. That means that for every synonym set, it records both the positive and negative sentiment values. Some examples are as follows:
|
POS |
ID |
PosScore |
NegScore |
SynsetTerms |
Description |
|
a |
00311354 |
0.25 |
0.125 |
studious#1 |
Marked by care and effort; made a studious attempt to fix the ... |
Read now
Unlock full access