Using the goodbooks data set from GitHub

The cloud natural language API can be implemented to perform sentiment analysis function in order to search fiction books from a set of books. The steps to perform the same are as follows:

  1. Input the text (the dataset is books; it is available at https://github.com/zygmuntz/goodbooks-10k)
  2. Extract the syntax
  3. Sentiment analysis API
  4. Generate fiction (positive) or non-fiction books (negative) results
  5. Calculate the overall sentiment by adding positive and negative results, is prediction

Get Cloud Analytics with Google Cloud Platform now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.