title: Vocabulary Processor function
body: <p>I am researching about embedding input for Convolution Neural Network and I understand Word2vec. However, in <a href="https://github.com/dennybritz/cnn-text-classification-tf/blob/master/train.py" rel="noreferrer">CNN text classification</a>. dennybritz used function <code>learn.preprocessing.VocabularyProcessor</code>. In the <a href="http://tflearn.org/data_utils/" rel="noreferrer">document</a>. They said it Maps documents to sequences of word ids. I am not quite sure how this function work. Does it creates a list of Ids then maps the Ids with Words or It has an dictionary of words and their Ids, when run function it only give the ids ? </p>