code: def create_dummy_dict_file(
      dict_file: str,
      chars: List[str] = list("0123456789abcdefghijklmnopqrstuvwxyz"),
  ) -> None:  # NOQA
      """Create a dummy dictionary file.
  
      Args:
          dict_file (str): Path to the dummy dictionary file.
          chars (list[str]): List of characters in dictionary. Defaults to
              ``list('0123456789abcdefghijklmnopqrstuvwxyz')``.
      """
      with open(dict_file, "w") as f:
          for char in chars:
              f.write(char + "\n")
  
imports: from typing import Any, Dict, List, Optional, Sequence
  import numpy
  import torch
  from mmengine.structures import InstanceData
  from mmocr.structures import TextDetDataSample
label_desc: Use image node_id 2 for calling a global function with example usage: create_dummy_dict_file(dict_file, chars) without return types