Research on sentiment analysis suggests that certain parts of speech, e.g., adjectives, verbs and adverbs, are good sentiment markers (Pang and Lee, 2008).
we represent a document as a vector of unigrams and bigrams and filter out those that do not contain above parts of speech.