Hint! Check Part I first, where we introduced a simple algorithm to analyze the sentiment of a given document. In this article we will talk…