An Attention Method-based Deep Learning Encoder for the Sentiment Classification of Documents