def get_indices(self, words):
        indices = [self[w] for w in words]
        return indices
Returns the indices corresponding to a sequence of tokens.
dataset/ETHPy150Open erickrf/nlpnet/nlpnet/word_dictionary.py/WordDictionary.get_indices