code: def deal_eb_token(master_token):
      """
      post process with <eb></eb>, <eb1></eb1>, ...
      emptyBboxTokenDict = {
          "[]": '<eb></eb>',
          "[' ']": '<eb1></eb1>',
          "['<b>', ' ', '</b>']": '<eb2></eb2>',
          "['\\u2028', '\\u2028']": '<eb3></eb3>',
          "['<sup>', ' ', '</sup>']": '<eb4></eb4>',
          "['<b>', '</b>']": '<eb5></eb5>',
          "['<i>', ' ', '</i>']": '<eb6></eb6>',
          "['<b>', '<i>', '</i>', '</b>']": '<eb7></eb7>',
          "['<b>', '<i>', ' ', '</i>', '</b>']": '<eb8></eb8>',
          "['<i>', '</i>']": '<eb9></eb9>',
          "['<b>', ' ', '\\u2028', ' ', '\\u2028', ' ', '</b>']": '<eb10></eb10>',
      }
      :param master_token:
      :return:
      """
      master_token = master_token.replace("<eb></eb>", "<td></td>")
      master_token = master_token.replace("<eb1></eb1>", "<td> </td>")
      master_token = master_token.replace(
          "<eb2></eb2>", "<td><b> </b></td>"
      )
      master_token = master_token.replace(
          "<eb3></eb3>", "<td>\u2028\u2028</td>"
      )
      master_token = master_token.replace(
          "<eb4></eb4>", "<td><sup> </sup></td>"
      )
      master_token = master_token.replace(
          "<eb5></eb5>", "<td><b></b></td>"
      )
      master_token = master_token.replace(
          "<eb6></eb6>", "<td><i> </i></td>"
      )
      master_token = master_token.replace(
          "<eb7></eb7>", "<td><b><i></i></b></td>"
      )
      master_token = master_token.replace(
          "<eb8></eb8>", "<td><b><i> </i></b></td>"
      )
      master_token = master_token.replace(
          "<eb9></eb9>", "<td><i></i></td>"
      )
      master_token = master_token.replace(
          "<eb10></eb10>", "<td><b> \u2028 \u2028 </b></td>"
      )
      return master_token
  
imports: import os
  import re
  import cv2
  import glob
  import copy
  import math
  import pickle
  import numpy
  from shapely.geometry import Polygon, MultiPoint
label_desc: Use image node_id 24 for calling a global function with example usage: deal_eb_token(master_token) and returns: master_token