class_docstr: Creates features for entity extraction.
class_docstr_tok: ["Creates","features","for","entity","extraction","."]
docstr: Remove emoji if the full text, aka token, matches the emoji regex.
docstr_tok: ["Remove","emoji","if","the","full","text",",","aka","token",",","matches","the","emoji","regex","."]
code: def remove_emoji(self, text: Text) -> Text:
      """Remove emoji if the full text, aka token, matches the emoji regex."""
      match = self.emoji_pattern.fullmatch(text)
  
      if match is not None:
          return ""
  
      return text
  
imports: from __future__ import annotations
  from typing import Any, Dict, List, Optional, Text
  import regex
  import rasa.shared.utils.io
  import rasa.utils.io
  from rasa.engine.graph import ExecutionContext
  from rasa.engine.recipes.default_recipe import DefaultV1Recipe
  from rasa.engine.storage.resource import Resource
  from rasa.engine.storage.storage import ModelStorage
  from rasa.nlu.tokenizers.tokenizer import Token, Tokenizer
  from rasa.shared.constants import DOCS_URL_COMPONENTS
  from rasa.shared.nlu.training_data.message import Message
label_desc: Use image node_id 5 for calling the WhitespaceTokenizer obj's underlying member method code with example usage: obj.remove_emoji(text) and returns: text, str