Using CNN for text classification

I am trying to implement the following paper - (https://arxiv.org/pdf/1704.06841.pdf)

This is a variation of the more famous paper - using CNNs for text classification. I am currently following the blog post by WildML (http://www.wildml.com/2015/12/implementing-a-cnn-for-text-classification-in-tensorflow/).

I am stuck at a point and could use some help.

Here’s the SO question which I posted.

Any help would be appreciated, thank you.!