code: def write_conll(path, conll_gen):
      """Writes CoNLL sentences to CoNLL formatted file."""
      with open(path, "w") as file:
          for sentence in conll_gen:
              for entry in sentence[1:]:
                  file.write(str(entry) + "\n")
              file.write("\n")
  
file_path: nlp-architect/nlp_architect/models/bist/utils.py
imports: import os
  import subprocess
  from collections import Counter
  from nlp_architect.data.conll import ConllEntry
  from nlp_architect.models.bist.eval.conllu.conll17_ud_eval import run_conllu_eval
label_desc: Use image node_id 3 for calling a global function with example usage: write_conll(path, conll_gen) without return types