code: def emojis(text: str, repl: str = "_EMOJI_") -> str:
      """
      Replace all emoji and pictographs in ``text`` with ``repl``.
  
      Note:
          If your Python has a narrow unicode build ("USC-2"), only dingbats
          and miscellaneous symbols are replaced because Python isn't able
          to represent the unicode data for things like emoticons. Sorry!
      """
      return resources.RE_EMOJI.sub(repl, text)
  
file_path: textacy/src/textacy/preprocessing/replace.py
imports: from .None import resources
label_desc: Use image node_id 3 for calling a global function with example usage: emojis(text, repl) and returns: resources