code: def get_text(self, text, lang):
      tokens = self.tokenizer.encode(text, lang)
      tokens = torch.IntTensor(tokens)
      assert not torch.any(
          tokens == 1
      ), f"UNK token found in {text} -> {self.tokenizer.decode(tokens)}"
      # The stop token should always be sacred.
      assert not torch.any(tokens == 0), f"Stop token found in {text}"
      return tokens
  
file_path: TTS/TTS/tts/layers/xtts/trainer/dataset.py
imports: import os
  import random
  import sys
  import torch
  import torch.nn.functional
  import torch.utils.data
  from TTS.tts.models.xtts import load_audio
label_desc: Use image node_id 3 for calling the XTTSDataset obj's underlying member method code with example usage: obj.get_text(text, lang) and returns: tokens