Sentiment analysis refers to a broad (definitionally challenged) area of
natural language processing,
computational linguistics and
text mining. Generally speaking, it aims to determine the attitude of a speaker or a writer with respect to some topic. The attitude may be their judgement or evaluation (see appraisal theory), their affectual state (that is to say, the emotional state of the author when writing) or the intended emotional communication (that is to say, the emotional effect the author wishes to have on the reader).
See more at Wikipedia.org...