code: def vectorize_utterance(self, utterance, safe=True):
          
          if safe:
              return self.vectorize_utterance_safe(utterance)
          else:
              return self.vectorize_utterance_unsafe(utterance)
docs: Take in a tokenized utterance and transform it into a sequence of indices