code: def stm(data):
      sys.stdout.reconfigure(encoding="utf-8")
      for e in data["turn"]:
          sys.stdout.write(
              "{} 1 UNKNOWN {:.02f} {:.02f} ".format(
                  data["id"], e.startTime, e.endTime
              )
          )
          sys.stdout.write(e.text)
          sys.stdout.write("\n")
  
file_path: espnet/egs/mgb2/asr1/local/xml2stm.py
imports: import sys
  from xml.dom import minidom
label_desc: Use image node_id 4 for calling a global function with example usage: stm(data) without return types