Text Mining | Google NLP | Python
So I have complained about the Google’s Spreadsheets API. After I crawled the news, I feel like I should do some text mining to break the sentences down and teach my algo to read the news. And I came across Google’s NLP API, Ha! I know I won’t like it but why not?

1. let’s create a google-nlp class
response = client.analyze_entities(document, encoding_type=encoding_type)
this python module is to create a client and analyse the entities. There are more features you can play with. The most useful one is tokenization. I will tell you later 😉.
2. let’s call the class while crawling the news
p.s. you will need to handle the authentication with a google service account

Nah, Just joking. I will tell you later in the following-up post about how to use grammar with the tokenization, where we can find more interesting insights from those news and text. To teach your computer to read news exactly the way you programmed 😎😎😎). Please feel free to 👉📱message my twilio bot (+447479275693).