docstr: Convert the dictionary format input data to the CoNLL-U format output data and write to a file.
docstr_tok: ["Convert","the","dictionary","format","input","data","to","the","CoNLL-U","format","output","data","and","write","to","a","file","."]
code: def dict2conll(doc_dict, filename):
      """
      Convert the dictionary format input data to the CoNLL-U format output data and write to a file.
      """
      doc = Document(doc_dict)
      CoNLL.write_doc2conll(doc, filename)
  
file_path: stanza/stanza/utils/conll.py
imports: import os
  import io
  from zipfile import ZipFile
  from stanza.models.common.doc import Document
  from stanza.models.common.doc import ID, TEXT, LEMMA, UPOS, XPOS, FEATS, HEAD, DEPREL, DEPS, MISC, NER, START_CHAR, END_CHAR
  from stanza.models.common.doc import FIELD_TO_IDX, FIELD_NUM
label_desc: Use image node_id 7 for calling the CoNLL obj's underlying member method code with example usage: obj.dict2conll(doc_dict, filename) without return types