Research Article

Leveraging Contextual Sentences for Text Classification by Using a Neural Attention Model

Figure 3

Text classification model with attention mechanism and additional features based on LSTM and consecutive sentences. (a) When the inputs are sequential sentences, the overall process of the text classification model is based on LSTM. The length of the sequential sentences is 3. (b) The detailed implementation of the AM module.
(a)
(b)