Sentiment Analysis: CIA's Description of Each Country's Human Trafficking

TL;DR: Poor scores not just for Malaysia, but most of African countries, China and Russia as well


0.1.0 - 25/5/21
I was reading newspaper and saw this opinion posted here. The author felt that CIA described the human trafficking situation in Malaysia poorly on their webpage. That gave me the idea of using natural language processing to examine CIA's description on each country. I first used BeautifulSoup to scrape the webpage, then processed it in a Jupyter Notebook, available here. I cleaned the text and computed the TF-IDF.


0.2.0 - 26/5/21
I calculated the sentiment scores, in terms of polarity and subjectivity. Then I colored each country according to the score received.


0.3.0 - 27/5/21
I uploaded the notebook to my website and also created the mobile responsive dashboard below.


0.4.0 - 8/6/21
My original TF-IDF extract function was a mess, so I replace it with the one from sklearn.

Algeria seems to be frequently used in the description.

You can contact me at tankelvin3310@gmail.com