Recognition of different emotional states in textual documents