Model/vocab.py
def tokens_to_indices(self, tokens):
        """
        Given a list of tokens in the vocabulary, returns a list of 
        corresponding indices

        """
        return([self.__getindex__(t) for t in tokens])

        Given a list of tokens in the vocabulary, returns a list of 
        corresponding indices

        
Given a list of tokens in the vocabulary, returns a list of
corresponding indices
Given a list of tokens in the vocabulary returns a list of corresponding indices
def tokens_to_indices(self, tokens):
        return([self.__getindex__(t) for t in tokens])
def tokens_to_indices ( self , tokens ) : return ( [ self . __getindex__ ( t ) for t in tokens ] )
Given a list of tokens in the vocabulary, returns a list of
corresponding indices
Given a list of tokens in the vocabulary returns a list of corresponding indices
"""
        Given a list of tokens in the vocabulary, returns a list of 
        corresponding indices

        """
self
tokens