Lesson 21Pulling It All Together: Word Analysis in Go

In this lesson, you will apply what you've learned up to this point to perform a common text analysis process using Go. Specifically, you will build a program that takes a dataset of e-commerce reviews and analyzes them to calculate the number of times each word appears.

EXAMINING THE DATA

When you start any data analysis process, the first step is to ensure that the data is in a format that your system can use and ensure that the data is available for use. For our project, you will need to download the data. You'll use the Digital Music review set from Julian McAuley's Amazon product data website, which can be found at http://jmcauley.ucsd.edu/data/amazon. This file, reviews.json, can also be found in the downloadable zip file for this book, which can be found at www.wiley.com/go/jobreadygo. The data is in the file reviews_Digital_Music_5.json.gz and will need to be extracted.

This file is in a modified JSON format. If you open the ...

Get Job Ready Go 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.