code: def default_text_preprocessor():
      return [
          {
              "name": "TextNormalizer",
              "modes": ["targets", "training", "evaluation"],
              "args": {"unicode_normalization": "NFC"},
          },
          {
              "name": "TextRegularizer",
              "modes": ["targets", "training", "evaluation"],
              "args": {
                  "replacements": [
                      {
                          "regex": False,
                          "old": "\u00b5",
                          "new": "\u03bc",
                      },
                      {
                          "regex": False,
                          "old": "\u2013\u2014\u2014",
                          "new": "-",
                      },
                      {
                          "regex": False,
                          "old": "\u2013\u2014",
                          "new": "-",
                      },
                      {"regex": False, "old": '"', "new": "''"},
                      {"regex": False, "old": "`", "new": "'"},
                      {"regex": False, "old": "\u201c", "new": "''"},
                      {"regex": False, "old": "\u201d", "new": "''"},
                      {"regex": False, "old": "\u00b4", "new": "'"},
                      {"regex": False, "old": "\u2018", "new": "'"},
                      {"regex": False, "old": "\u2019", "new": "'"},
                      {"regex": False, "old": "\u201c", "new": "''"},
                      {"regex": False, "old": "\u201d", "new": "''"},
                      {"regex": False, "old": "\u201c", "new": "''"},
                      {"regex": False, "old": "\u201e", "new": ",,"},
                      {"regex": False, "old": "\u2026", "new": "..."},
                      {"regex": False, "old": "\u2032", "new": "'"},
                      {"regex": False, "old": "\u2033", "new": "''"},
                      {"regex": False, "old": "\u2034", "new": "'''"},
                      {"regex": False, "old": "\u3003", "new": "''"},
                      {"regex": False, "old": "\u2160", "new": "I"},
                      {"regex": False, "old": "\u2161", "new": "II"},
                      {"regex": False, "old": "\u2162", "new": "III"},
                      {"regex": False, "old": "\u2163", "new": "IV"},
                      {"regex": False, "old": "\u2164", "new": "V"},
                      {"regex": False, "old": "\u2165", "new": "VI"},
                      {"regex": False, "old": "\u2166", "new": "VII"},
                      {"regex": False, "old": "\u2167", "new": "VIII"},
                      {"regex": False, "old": "\u2168", "new": "IX"},
                      {"regex": False, "old": "\u2169", "new": "X"},
                      {"regex": False, "old": "\u216a", "new": "XI"},
                      {"regex": False, "old": "\u216b", "new": "XII"},
                      {"regex": False, "old": "\u216c", "new": "L"},
                      {"regex": False, "old": "\u216d", "new": "C"},
                      {"regex": False, "old": "\u216e", "new": "D"},
                      {"regex": False, "old": "\u216f", "new": "M"},
                      {"regex": False, "old": "\u2170", "new": "i"},
                      {"regex": False, "old": "\u2171", "new": "ii"},
                      {"regex": False, "old": "\u2172", "new": "iii"},
                      {"regex": False, "old": "\u2173", "new": "iv"},
                      {"regex": False, "old": "\u2174", "new": "v"},
                      {"regex": False, "old": "\u2175", "new": "vi"},
                      {"regex": False, "old": "\u2176", "new": "vii"},
                      {"regex": False, "old": "\u2177", "new": "viii"},
                      {"regex": False, "old": "\u2178", "new": "ix"},
                      {"regex": False, "old": "\u2179", "new": "x"},
                      {"regex": False, "old": "\u217a", "new": "xi"},
                      {"regex": False, "old": "\u217b", "new": "xii"},
                      {"regex": False, "old": "\u217c", "new": "l"},
                      {"regex": False, "old": "\u217d", "new": "c"},
                      {"regex": False, "old": "\u217e", "new": "d"},
                      {"regex": False, "old": "\u217f", "new": "m"},
                      {"regex": True, "old": "(?u)\\s+", "new": " "},
                      {"regex": True, "old": "(?u)\\n", "new": ""},
                      {"regex": True, "old": "(?u)^\\s+", "new": ""},
                      {"regex": True, "old": "(?u)\\s+$", "new": ""},
                  ]
              },
          },
          {
              "name": "StripTextProcessor",
              "modes": ["targets", "training", "evaluation"],
              "args": None,
          },
      ]
  
imports: import inspect
  import os
  from typing import Optional
  import logging
  import h5py
  from tensorflow import keras
  from tensorflow.python.keras.saving.hdf5_format import load_weights_from_hdf5_group
  from tfaip.util.tfaipargparse import post_init
  from calamari_ocr.ocr.savedmodel.migrations.version3_4to5 import migrate3to5
  from calamari_ocr.ocr.scenario import CalamariScenario
  from calamari_ocr.ocr.training.params import TrainerParams
label_desc: Use image node_id 11 for calling a global function with example usage: default_text_preprocessor() and returns: list