class_docstr: Intent data of a :class:`.Dataset`
  
  Attributes:
      intent_name (str): name of the intent
      utterances (list of :class:`.IntentUtterance`): annotated intent
          utterances
      slot_mapping (dict): mapping between slot names and entities
class_docstr_tok: ["Intent","data","of","a",":","class",":","`",".Dataset","`","Attributes",":","intent_name","(","str",")",":","name","of","the","intent","utterances","(","list","of",":","class",":","`",".IntentUtterance","`",")",":","annotated","intent","utterances","slot_mapping","(","dict",")",":","mapping","between","slot","names","and","entities"]
code: def __init__(self, intent_name, utterances, slot_mapping=None):
      if slot_mapping is None:
          slot_mapping = dict()
      self.intent_name = intent_name
      self.utterances = utterances
      self.slot_mapping = slot_mapping
      self._complete_slot_name_mapping()
      self._ensure_entity_names()
  
imports: from __future__ import absolute_import, print_function, unicode_literals
  from abc import ABCMeta, abstractmethod
  from builtins import object
  from io import IOBase
  from future.utils import with_metaclass
  from snips_nlu.constants import DATA, ENTITY, SLOT_NAME, TEXT, UTTERANCES
  from snips_nlu.exceptions import IntentFormatError
label_desc: Use image node_id 1 to create a new Intent object from inherited base classes: object with example: obj = Intent(intent_name, utterances, slot_mapping)