code: def ed(str1, str2):
      return editdistance.eval(str1, str2)
  
file_path: PaddleOCR/tools/end2end/eval_end2end.py
imports: import os
  import re
  import sys
  import shapely
  from shapely.geometry import Polygon
  import numpy
  from collections import defaultdict
  import operator
  import editdistance
label_desc: Use image node_id 4 for calling a global function with example usage: ed(str1, str2) and returns: editdistance