code: def old_norse_normalize(text: str) -> str:
      """
      >>> old_norse_normalize("Hvat er  þat?")
      'hvat er þat'
  
      :param text: text to normalize
      :return: normalized text
      """
      res = text.lower()
      res = re.sub(r"[\-:?;.,]", "", res)
      res = re.sub(r" +", " ", res)
      return res
  
imports: import re
  from math import floor
  from typing import Dict, List, Tuple, Union
  import cltk.phonology.non.syllabifier
  import cltk.phonology.non.transcription
  from cltk.core.cltk_logger import logger
  from cltk.phonology.non.utils import Transcriber
  from cltk.phonology.syllabify import Syllabifier
  from cltk.stops.non import STOPS
  from cltk.tag.pos import POSTag
  from cltk.tokenizers.non import OldNorseWordTokenizer
label_desc: Use image node_id 1 for calling a global function with example usage: old_norse_normalize(text) and returns: res