code: def get_icdar_2013_recognizer_dataset(cache_dir=None):
      """Get a list of (filepath, box, word) tuples from the
      ICDAR 2013 dataset.
  
      Args:
          cache_dir: The directory in which to cache the file. The default is
              `~/.keras-ocr`.
  
      Returns:
          A recognition dataset as a list of (filepath, box, word) tuples
      """
      dataset = []
      for image_path, lines, _ in get_icdar_2013_detector_dataset(
          cache_dir=cache_dir, skip_illegible=True
      ):
          for line in lines:
              box, text = tools.combine_line(line)
              dataset.append((image_path, box, text))
      return dataset
  
imports: import concurrent.futures
  import itertools
  import warnings
  import typing
  import zipfile
  import random
  import glob
  import json
  import os
  import tqdm
  import imgaug
  import PIL.Image
  import numpy
  from .None import tools
label_desc: Use image node_id 4 for calling a global function with example usage: get_icdar_2013_recognizer_dataset(cache_dir) and returns: dataset