code: def test_english():
      train_text = """
          anachronism
          synchronous  
          chronology
          chronic
          chronophilia
          chronoecological
          chronocoulometry
          """
  
      test_text = "chronocline synchroscope "
  
      TRAIN_DATA_PATH = "train_data.txt"
      MODEL_PATH = "model.yttm"
      with open(TRAIN_DATA_PATH, "w") as fin:
          fin.write(train_text)
      model = yttm.BPE.train(
          TRAIN_DATA_PATH, MODEL_PATH, 200, n_threads=1
      )
      tokenized_text = model.encode(
          [test_text], output_type=yttm.OutputType.SUBWORD
      )
      expected_result = [
          [
              "▁chrono",
              "c",
              "l",
              "i",
              "n",
              "e",
              "▁",
              "sy",
              "n",
              "ch",
              "r",
              "o",
              "s",
              "co",
              "p",
              "e",
          ]
      ]
      assert tokenized_text == expected_result
      print(tokenized_text)
      os.remove(TRAIN_DATA_PATH)
  
imports: import os
  import youtokentome
label_desc: Use image node_id 2 for calling a global function with example usage: test_english() without return types