code: def _add_entity_variations(
      utterances, entity_variations, entity_value
  ):
      utterances[entity_value] = entity_value
      for variation in entity_variations[entity_value]:
          if variation:
              utterances[variation] = entity_value
      return utterances
  
file_path: snips-nlu/snips_nlu/dataset/validation.py
imports: from __future__ import division, unicode_literals
  import json
  from builtins import str
  from collections import Counter
  from copy import deepcopy
  from future.utils import iteritems, itervalues
  from snips_nlu.common.dataset_utils import validate_key, validate_keys, validate_type
  from snips_nlu.constants import AUTOMATICALLY_EXTENSIBLE, CAPITALIZE, DATA, ENTITIES, ENTITY, INTENTS, LANGUAGE, MATCHING_STRICTNESS, SLOT_NAME, SYNONYMS, TEXT, USE_SYNONYMS, UTTERANCES, VALIDATED, VALUE, LICENSE_INFO
  from snips_nlu.dataset import extract_utterance_entities, Dataset
  from snips_nlu.entity_parser.builtin_entity_parser import BuiltinEntityParser, is_builtin_entity
  from snips_nlu.exceptions import DatasetFormatError
  from snips_nlu.preprocessing import tokenize_light
  from snips_nlu.string_variations import get_string_variations
label_desc: Use image node_id 4 for calling a global function with example usage: _add_entity_variations(utterances, entity_variations, entity_value) and returns: utterances