code: def test_sentence_normalizer():
      normalizer = MosesNormalizer("en")
      assert (
          normalizer('    hello  world!!".\t\t\r')
          == ' hello world!!."  '
      )
      assert (
          normalizer(
              b"We therefore defend, and will continue to defend wherever necessary, our position of \xe2\x80\x98no diversion\xe2\x80\x99.\n".decode(
                  "utf-8"
              )
          )
          == "We therefore defend, and will continue to defend wherever necessary, our position of 'no diversion'. "
      )
      normalizer = MosesNormalizer(
          "en", remove_non_printable_char=False
      )
      assert (
          normalizer('    hello  world!!".\t\t\r')
          == ' hello world!!."\t\t'
      )
      normalizer = MosesNormalizer(
          "en",
          remove_non_printable_char=False,
          unicode_norm_form="NFKC",
      )
      assert (
          normalizer('    hello  world!!"⁵.\t\t\r')
          == ' hello world!!"5.\t\t'
      )
  
imports: import pytest
  from gluonnlp.data.filtering import ProfanityFilter, MosesNormalizer, LanguageIdentifier
  import multiprocessing
label_desc: Use image node_id 2 for calling a global function with example usage: test_sentence_normalizer() without return types