code: def normalize_fr(tokens: List[str]) -> List[str]:
      """Normalize Old and Middle French tokens.
  
      TODO: Make work work again with a tokenizer.
      """
      # from cltk.tokenizers.word import WordTokenizer
      # string = string.lower()
      # word_tokenizer = WordTokenizer("fro")
      # tokens = word_tokenizer.tokenize(string)
      rules = [
          build_match_and_apply_functions(pattern, replace)
          for (pattern, replace) in FRO_PATTERNS
      ]
      normalized_text = []
      for token in tokens:
          for matches_rule, apply_rule in rules:
              if matches_rule(token):
                  normalized = apply_rule(token)
                  normalized_text.append(normalized)
      return normalized_text
  
label_desc: Use image node_id 2 for calling a global function with example usage: normalize_fr(tokens) and returns: normalized_text