code: def test_profanity_filter():
      profanity_filter = ProfanityFilter("en")
      filter_word = "anal"
      unfilter_word = "analysis"
      for text in [
          " " + filter_word,
          " " + filter_word + " ",
          filter_word,
          filter_word + " " + unfilter_word,
      ]:
          assert profanity_filter.match(text) is True
      for text in [
          " " + unfilter_word,
          unfilter_word,
          unfilter_word + " ",
      ]:
          assert profanity_filter.match(text) is False
  
imports: import pytest
  from gluonnlp.data.filtering import ProfanityFilter, MosesNormalizer, LanguageIdentifier
  import multiprocessing
label_desc: Use image node_id 1 for calling a global function with example usage: test_profanity_filter() without return types