class_docstr: Provides functionality for components that do entity extraction.
  
  Inheriting from this class will add utility functions for entity extraction.
  Entity extraction is the process of identifying and extracting entities like a
  person's name, or a location from a message.
class_docstr_tok: ["Provides","functionality","for","components","that","do","entity","extraction",".","Inheriting","from","this","class","will","add","utility","functions","for","entity","extraction",".","Entity","extraction","is","the","process","of","identifying","and","extracting","entities","like","a","person","'s","name",",","or","a","location","from","a","message","."]
docstr: Adds this extractor's name to the list of processors for this entity.
  
  Args:
      entity: the extracted entity and its metadata.
  
  Returns:
      the modified entity.
docstr_tok: ["Adds","this","extractor","'s","name","to","the","list","of","processors","for","this","entity",".","Args",":","entity",":","the","extracted","entity","and","its","metadata",".","Returns",":","the","modified","entity","."]
code: def add_processor_name(
      self, entity: Dict[Text, Any]
  ) -> Dict[Text, Any]:
      """Adds this extractor's name to the list of processors for this entity.
  
      Args:
          entity: the extracted entity and its metadata.
  
      Returns:
          the modified entity.
      """
      if "processors" in entity:
          entity["processors"].append(self.name)
      else:
          entity["processors"] = [self.name]
  
      return entity
  
imports: import abc
  from typing import Any, Dict, List, NamedTuple, Text, Tuple, Optional
  import rasa.shared.utils.io
  from rasa.shared.constants import DOCS_URL_TRAINING_DATA_NLU
  from rasa.shared.nlu.training_data.training_data import TrainingData
  from rasa.shared.nlu.training_data.message import Message
  from rasa.nlu.tokenizers.tokenizer import Token
  from rasa.nlu.constants import TOKENS_NAMES, ENTITY_ATTRIBUTE_CONFIDENCE_TYPE, ENTITY_ATTRIBUTE_CONFIDENCE_ROLE, ENTITY_ATTRIBUTE_CONFIDENCE_GROUP
  from rasa.shared.nlu.constants import TEXT, INTENT, ENTITIES, ENTITY_ATTRIBUTE_VALUE, ENTITY_ATTRIBUTE_START, ENTITY_ATTRIBUTE_END, EXTRACTOR, ENTITY_ATTRIBUTE_TYPE, ENTITY_ATTRIBUTE_GROUP, ENTITY_ATTRIBUTE_ROLE, NO_ENTITY_TAG, SPLIT_ENTITIES_BY_COMMA, SINGLE_ENTITY_ALLOWED_INTERLEAVING_CHARSET
  import rasa.utils.train_utils
label_desc: Use image node_id 3 for calling the EntityExtractorMixin obj's underlying member method code with example usage: obj.add_processor_name(entity) and returns: entity