class_docstr: Intent classifier using simple keyword matching.
  
  The classifier takes a list of keywords and associated intents as an input.
  An input sentence is checked for the keywords and the intent is returned.
class_docstr_tok: ["Intent","classifier","using","simple","keyword","matching",".","The","classifier","takes","a","list","of","keywords","and","associated","intents","as","an","input",".","An","input","sentence","is","checked","for","the","keywords","and","the","intent","is","returned","."]
docstr: Creates classifier.
docstr_tok: ["Creates","classifier","."]
code: def __init__(
      self,
      config: Dict[Text, Any],
      model_storage: ModelStorage,
      resource: Resource,
      execution_context: ExecutionContext,
      intent_keyword_map: Optional[Dict] = None,
  ) -> None:
      """Creates classifier."""
      self.component_config = config
      self._model_storage = model_storage
      self._resource = resource
      self._execution_context = execution_context
  
      self.case_sensitive = self.component_config.get("case_sensitive")
      self.intent_keyword_map = intent_keyword_map or {}
  
imports: from __future__ import annotations
  import logging
  import re
  from typing import Any, Dict, Optional, Text, List
  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.constants import DOCS_URL_COMPONENTS
  from rasa.nlu.classifiers.classifier import IntentClassifier
  from rasa.shared.nlu.constants import INTENT, TEXT, INTENT_NAME_KEY, PREDICTED_CONFIDENCE_KEY
  import rasa.shared.utils.io
  from rasa.shared.nlu.training_data.training_data import TrainingData
  from rasa.shared.nlu.training_data.message import Message
label_desc: Use image node_id 2 to create a new KeywordIntentClassifier object from inherited base classes: GraphComponent, IntentClassifier with example: obj = KeywordIntentClassifier(config, model_storage, resource, execution_context, intent_keyword_map)