code: def write_sentences_to_conllu(filename, sents):
      with open(filename, "w", encoding="utf-8") as outfile:
          for lines in sents:
              lines = maybe_add_fake_dependencies(lines)
              for line in lines:
                  print(line, file=outfile)
              print("", file=outfile)
  
imports: import argparse
  from enum import Enum
  import glob
  import logging
  import os
  import re
  import subprocess
  import sys
  from stanza.models.common.short_name_to_treebank import canonical_treebank_name
  import stanza.utils.datasets.prepare_tokenizer_data
  import stanza.utils.default_paths
label_desc: Use image node_id 8 for calling a global function with example usage: write_sentences_to_conllu(filename, sents) without return types