This paper describes experiments concerned with the automatic analysis of emotions in text. We describe the construction of a large data set annotated for six basic emotions: anger, disgust, fear, joy, sadness and surprise, and we propose and evaluate several knowledge-based and corpusbased methods for the automatic identification of these emotions in text. Categories and Subject Descriptors I.2.7 [Natural Language Processing]: Text analysis General Terms Algorithms,Experimentation Keywords emotion annotation, emotion analysis, sentiment analysis