When the emotions of text are analyzed, the basic emotions can be divided into the following nine kinds:calm, happy, excited, sad, weeping, anger, disgust, surprise and fear. Meanwhile, the emotional dimension is emotional positive and negative as well as emotional strength. Steps of analysis of emotion for the text are shown as followed:Word segmentation analysis Attribute reduction Emotional words databas