A method for perceiving and visualizing emotion contained in a text is provided. A code representing an emotional status is allocated to each sample sentence. A priori probability of occurrence of sentences representing each emotional status is calculated . A code representing an emotional status is allocated to each word contained in the sentences. The probability of occurrence of the word in sentences representing the corresponding emotional status is calculated. Then, the probability of each emotional status of an object sentence is calculated by multiplying the a priori probability of status i with the probability of occurrence in status i of each word in the sentence, so that the emotional status yielding the highest probabilty is determined to represent the emotional status of the sentence. Expressions or punction marks capable as such of expressing emotions are processed separately in order to enhance the efficiency of the processing.
METHOD AND SYSTEM FOR EMOTION PERCEPTION FROM TEXT