code: def parse_label(book_dict, path):
      for chapter_id in book_dict.keys():
          chapter = book_dict[chapter_id]
          for paragraph_id in chapter.keys():
              paragraph = chapter[paragraph_id]
              for style_id in paragraph.keys():
                  style = paragraph[style_id]
                  for sentence_id, sentence in enumerate(style):
                      yield JKACLabel(
                          path=path,
                          chapter_id=chapter_id,
                          paragraph_id=paragraph_id,
                          style_id=style_id,
                          sentence_id=sentence_id + 1,
                          sentence=sentence["sent"],
                          time_begin=sentence["time"][0],
                          time_end=sentence["time"][1],
                      )
  
imports: import argparse
  import os
  import re
  import sys
  from collections import namedtuple
  import yaml
label_desc: Use image node_id 4 for calling a global function with example usage: parse_label(book_dict, path) without return types