fork from https://github.com/Edward1Chou/SentimentAnalysis modify the code from python 2.7 to python 3.7