LSTM with compensation method for text classification