code: def test_russian():
      train_text = """
          собирать cборник сборище отобранный сборщица 
          """
  
      test_text = """
          собранный собрание прибор
          """
  
      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, 50)
      tokenized_text = model.encode(
          [test_text], output_type=yttm.OutputType.SUBWORD
      )
      expected_result = [
          [
              "▁с",
              "обранный",
              "▁с",
              "об",
              "ран",
              "и",
              "е",
              "▁",
              "п",
              "р",
              "и",
              "бор",
          ]
      ]
      assert tokenized_text == expected_result
      print(tokenized_text)
      os.remove(TRAIN_DATA_PATH)
  
imports: import os
  import youtokentome
label_desc: Use image node_id 1 for calling a global function with example usage: test_russian() without return types