How do Convolutional Neural Networks work for Text Classification



I have basic idea of CNN working for classification. I want to understand few things in the algorithm for more clarification. The terms like window size, pooling made me confused. And their a small confusion in word paring techniques too , (CBOW,Ngram). What is the role of these word pairing techniques and and how the algorithm works.