Let's look at some of the standard mining algorithms.
In simple words, opinion mining or sentiment analysis is the method in which we try to assess the opinion/sentiment present in the given phrase. The phrase could be any sentence. Though our examples would be English, the sentiment analysis is not limited to any language. Also, the sentence could come from any source—it could be a 140-character tweet, Facebook post/chats, SMSs, and so on. Consider the following examples: