class_docstr: Detect whether the corpus contains possible profanity content.
  
  We use the word list from https://github.com/LDNOOBW/List-of-Dirty-Naughty-Obscene-and-Otherwise-Bad-Words
docstr: Search whether the input corpus contains the suspicious bad words.
  
  Parameters
  ----------
  corpus
      Input string
  
  Returns
  -------
  ret
      Whether the input corpus contains profanity words.
docstr_tok: ["Search","whether","the","input","corpus","contains","the","suspicious","bad","words",".","Parameters","--","--","--","--","--","corpus","Input","string","Returns","--","--","--","-","ret","Whether","the","input","corpus","contains","profanity","words","."]
code: def match(self, corpus: str) -> bool:
      """Search whether the input corpus contains the suspicious bad words.
  
      Parameters
      ----------
      corpus
          Input string
  
      Returns
      -------
      ret
          Whether the input corpus contains profanity words.
      """
      return self._regex.match(corpus) is not None
  
imports: import re
  import regex
  import requests
  import unicodedata
  import os
  import warnings
  from typing import List, Pattern, Union, Tuple, Optional
  from sacremoses.normalize import MosesPunctNormalizer
  from ..utils.lazy_imports import try_import_fasttext, try_import_langid
  from ..utils.misc import download
  from ..base import get_model_zoo_home_dir, get_repo_url
label_desc: Use image node_id 2 for calling the ProfanityFilter obj's underlying member method code with example usage: obj.match(corpus) and returns: unknown