can cnn be used for text classification?
Understanding how Convolutional Neural Network (CNN) perform text classification with word embeddings. CNN has been successful in various text classification tasks. ... We would use a one-layer CNN on a 7-word sentence, with word embeddings of dimension 5 – a toy example to aid the understanding of CNN.