The disambiguation is carried out only over the words belonging to the grammatical categories noun, verb, adjective and adverb, as only these categories can present an emotional meaning.
we get the stem and sense in WordNet of each word, and this information is used to retrieve its synset.