code: def replace_diacritics(text):
      text = re.sub(r"[éèëēêęěė]", "e", text)  # latin
      text = re.sub(r"[ё]", "е", text)  # cyrillic
      text = re.sub(r"[ãâāáäăàąåạảǎ]", "a", text)
      text = re.sub(r"[úūüùưûů]", "u", text)
      text = re.sub(r"[ôōóöõòőø]", "o", text)
      text = re.sub(r"[ćçč]", "c", text)
      text = re.sub(r"[ïīíîıì]", "i", text)
      text = re.sub(r"[ñńňņ]", "n", text)
      text = re.sub(r"[țťţ]", "t", text)
      text = re.sub(r"[łľļ]", "l", text)
      text = re.sub(r"[żžź]", "z", text)
      text = re.sub(r"[ğ]", "g", text)
      text = re.sub(r"[ďđ]", "d", text)
      text = re.sub(r"[ķ]", "k", text)
      text = re.sub(r"[ř]", "r", text)
      text = re.sub(r"[ý]", "y", text)
      text = re.sub(r"[æ]", "ae", text)
      text = re.sub(r"[œ]", "oe", text)
      text = re.sub(r"[șşšś]", "s", text)
      return text
  
imports: import json
  import math
  import random
  import re
  from collections import defaultdict, namedtuple
  from typing import Dict, List, Set, Tuple, Union
  import numpy
  from numba import jit
label_desc: Use image node_id 1 for calling a global function with example usage: replace_diacritics(text) and returns: text