def construct(self, words):
        ''' Construct the vocabulary
        Inputs:
            words (list[string]) : List of words defining the vocabulary
        '''
        
        for word in words:
            self.add_word(word)
        print ("Constructed vocabulary of size: {}".format(len(self.word_to_index)))
 Construct the vocabulary
        Inputs:
            words (list[string]) : List of words defining the vocabulary
        
Model_TextCNN/old_code/utils.py