You will need Python 3.6x 64-bit from https://www.python.org/.
You will also need these libraries:
from googleapiclient.discovery import build
import html.parser as htmlparser
import pandas as pd
from matplotlib import pyplot as plt
from sklearn.neighbors import KNeighborsClassifier
And you will need programs from GitHub Chapter08:
- google_translate.py
- Google_translate_a_few_test_expressions.py
- knn_polysemy.py (download V1.csv in the same directory)
- Google_Translate_customized.py (download V1.csv in the same directory)
Check out the following video to see the code in action: