class_docstr: Component which provides the common configuration and loaded model to others.
  
  This is used to avoid loading the Mitie model multiple times. Instead the Mitie
  model is only loaded once and then shared by depending components.
class_docstr_tok: ["Component","which","provides","the","common","configuration","and","loaded","model","to","others",".","This","is","used","to","avoid","loading","the","Mitie","model","multiple","times",".","Instead","the","Mitie","model","is","only","loaded","once","and","then","shared","by","depending","components","."]
docstr: Creates component (see parent class for full docstring).
docstr_tok: ["Creates","component","(","see","parent","class","for","full","docstring",")","."]
code: def create(
      cls,
      config: Dict[Text, Any],
      model_storage: ModelStorage,
      resource: Resource,
      execution_context: ExecutionContext,
  ) -> MitieNLP:
      """Creates component (see parent class for full docstring)."""
      import mitie
  
      model_file = config.get("model")
      if not model_file:
          raise InvalidConfigException(
              "The MITIE component 'MitieNLP' needs "
              "the configuration value for 'model'."
              "Please take a look at the "
              "documentation in the pipeline section "
              "to get more info about this "
              "parameter."
          )
      if not Path(model_file).is_file():
          raise InvalidConfigException(
              "The model file configured in the MITIE "
              "component cannot be found. "
              "Please ensure the directory path and/or "
              "filename, '{}', are correct.".format(model_file)
          )
      extractor = mitie.total_word_feature_extractor(str(model_file))
  
      return cls(Path(model_file), extractor)
  
file_path: rasa/rasa/nlu/utils/mitie_utils.py
imports: from __future__ import annotations
  import typing
  from pathlib import Path
  from typing import Any, Dict, List, Optional, Text
  from rasa.engine.graph import GraphComponent, 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.shared.exceptions import InvalidConfigException
label_desc: Use image node_id 4 for calling the MitieNLP obj's underlying member method code with example usage: obj.create(cls, config, model_storage, resource, execution_context) and returns: cls