class_docstr: State Machine for parsing
class_docstr_tok: ["State","Machine","for","parsing"]
docstr: Adds a named slot
  
  Args:
      name (str): slot name
      entity (str): entity name
docstr_tok: ["Adds","a","named","slot","Args",":","name","(","str",")",":","slot","name","entity","(","str",")",":","entity","name"]
code: def add_slot(self, name, entity=None):
      """Adds a named slot
  
      Args:
          name (str): slot name
          entity (str): entity name
      """
      chunk = SlotChunk(slot_name=name, entity=entity, text=None)
      self.chunks.append(chunk)
  
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 3 for calling the SM obj's underlying member method code with example usage: obj.add_slot(name, entity) without return types