code: def test_abbreviations_multilingual():
      test_cases = [
          # English
          ("Hello Mr. Smith.", "Hello mister Smith.", "en"),
          ("Dr. Jones is here.", "doctor Jones is here.", "en"),
          # Spanish
          ("Hola Sr. Garcia.", "Hola señor Garcia.", "es"),
          (
              "La Dra. Martinez es muy buena.",
              "La doctora Martinez es muy buena.",
              "es",
          ),
          # French
          ("Bonjour Mr. Dupond.", "Bonjour monsieur Dupond.", "fr"),
          (
              "Mme. Moreau est absente aujourd'hui.",
              "madame Moreau est absente aujourd'hui.",
              "fr",
          ),
          # German
          (
              "Frau Dr. Müller ist sehr klug.",
              "Frau doktor Müller ist sehr klug.",
              "de",
          ),
          # Portuguese
          ("Olá Sr. Silva.", "Olá senhor Silva.", "pt"),
          (
              "Dra. Costa, você está disponível?",
              "doutora Costa, você está disponível?",
              "pt",
          ),
          # Italian
          (
              "Buongiorno, Sig. Rossi.",
              "Buongiorno, signore Rossi.",
              "it",
          ),
          # ("Sig.ra Bianchi, posso aiutarti?", 'signora Bianchi, posso aiutarti?', 'it'), # Issue with matching that pattern
          # Polish
          (
              "Dzień dobry, P. Kowalski.",
              "Dzień dobry, pani Kowalski.",
              "pl",
          ),
          (
              "M. Nowak, czy mogę zadać pytanie?",
              "pan Nowak, czy mogę zadać pytanie?",
              "pl",
          ),
          # Czech
          ("P. Novák", "pan Novák", "cs"),
          ("Dr. Vojtěch", "doktor Vojtěch", "cs"),
          # Dutch
          ("Dhr. Jansen", "de heer Jansen", "nl"),
          ("Mevr. de Vries", "mevrouw de Vries", "nl"),
          # Russian
          (
              "Здравствуйте Г-н Иванов.",
              "Здравствуйте господин Иванов.",
              "ru",
          ),
          (
              "Д-р Смирнов здесь, чтобы увидеть вас.",
              "доктор Смирнов здесь, чтобы увидеть вас.",
              "ru",
          ),
          # Turkish
          ("Merhaba B. Yılmaz.", "Merhaba bay Yılmaz.", "tr"),
          ("Dr. Ayşe burada.", "doktor Ayşe burada.", "tr"),
          # Hungarian
          ("Dr. Szabó itt van.", "doktor Szabó itt van.", "hu"),
      ]
  
      for a, b, lang in test_cases:
          out = expand_abbreviations_multilingual(a, lang=lang)
          assert out == b, f"'{out}' vs '{b}'"
  
imports: import os
  import re
  import textwrap
  from functools import cached_property
  import pypinyin
  import torch
  from hangul_romanize import Transliter
  from hangul_romanize.rule import academic
  from num2words import num2words
  from spacy.lang.ar import Arabic
  from spacy.lang.en import English
  from spacy.lang.es import Spanish
  from spacy.lang.ja import Japanese
  from spacy.lang.zh import Chinese
  from tokenizers import Tokenizer
  from TTS.tts.layers.xtts.zh_num2words import TextNorm
label_desc: Use image node_id 20 for calling a global function with example usage: test_abbreviations_multilingual() without return types