Product Design

Python Consulting for University of Sanya

I was asked by the University of Sanya, to create a script to get all the news from a specific URL and then, get the keywords, summary, and general sentiment.

Python is a beautiful and powerful language that is perfect for this task. I will be using Python 3.7.1 in Catalina for this project.

Divide and Conquer

The URL provided was http://people.com.cn/. When it comes to code, I always use “divide & conquer” to approach any problem. Therefore, my first task was, crawl, and get all the links from http://people.com.cn/. For this, I used the libraries requests and bs4....

Continue reading here https://medium.com/@carloslastres/python-snownlp-sentiment-analysis-for-the-chinese-language-8d9cafd0447d