class_docstr: Entity data of a :class:`.Dataset`
  
  This class can represents both a custom or a builtin entity. When the
  entity is a builtin one, only the `name` attribute is relevant.
  
  Attributes:
      name (str): name of the entity
      utterances (list of :class:`.EntityUtterance`): entity utterances
          (only for custom entities)
      automatically_extensible (bool): whether or not the entity can be
          extended to values not present in the data (only for custom
          entities)
      use_synonyms (bool): whether or not to map entity values using
          synonyms (only for custom entities)
      matching_strictness (float): controls the matching strictness of the
          entity (only for custom entities). Must be between 0.0 and 1.0.
class_docstr_tok: ["Entity","data","of","a",":","class",":","`",".Dataset","`","This","class","can","represents","both","a","custom","or","a","builtin","entity",".","When","the","entity","is","a","builtin","one",",","only","the","`","name","`","attribute","is","relevant",".","Attributes",":","name","(","str",")",":","name","of","the","entity","utterances","(","list","of",":","class",":","`",".EntityUtterance","`",")",":","entity","utterances","(","only","for","custom","entities",")","automatically_extensible","(","bool",")",":","whether","or","not","the","entity","can","be","extended","to","values","not","present","in","the","data","(","only","for","custom","entities",")","use_synonyms","(","bool",")",":","whether","or","not","to","map","entity","values","using","synonyms","(","only","for","custom","entities",")","matching_strictness","(","float",")",":","controls","the","matching","strictness","of","the","entity","(","only","for","custom","entities",")",".","Must","be","between","0.0","and","1.0","."]
code: def __init__(
      self,
      name,
      utterances=None,
      automatically_extensible=True,
      use_synonyms=True,
      matching_strictness=1.0,
  ):
      if utterances is None:
          utterances = []
      self.name = name
      self.utterances = utterances
      self.automatically_extensible = automatically_extensible
      self.use_synonyms = use_synonyms
      self.matching_strictness = matching_strictness
  
file_path: snips-nlu/snips_nlu/dataset/entity.py
imports: from __future__ import unicode_literals
  from builtins import str
  from io import IOBase
  from snips_nlu.constants import AUTOMATICALLY_EXTENSIBLE, DATA, MATCHING_STRICTNESS, SYNONYMS, USE_SYNONYMS, VALUE
  from snips_nlu.exceptions import EntityFormatError
label_desc: Use image node_id 1 to create a new Entity object from inherited base classes: object with example: obj = Entity(name, utterances, automatically_extensible, use_synonyms, matching_strictness)