Research Article

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

Figure 1

The two basic models in our experiments. One is based on CNN and the other is based on BLSTM. (a) The basic model based on CNN. The width of convolution filters is 3, and the method of pooling is max pooling. (b) The basic model based on LSTM. The output of LSTM network is a matrix concatenating the hidden vectors from forward LSTM and backward LSTM.
(a)
(b)