code: def __best_intent(self, parse_result, context=[]):
          
          best_intent = None
          best_tags = None
          context_as_entities = [{'entities': [c]} for c in context]
          for intent in self.intent_parsers:
              i, tags = intent.validate_with_tags(parse_result.get('tags') + context_as_entities, parse_result.get('confidence'))
              if not best_intent or (i and i.get('confidence') > best_intent.get('confidence')):
                  best_intent = i
                  best_tags = tags
  
          return best_intent, best_tags
docs: Decide the best intent
  
          Args:
              parse_result(list): results used to match the best intent.
              context(list): ?
  
          Returns:
              best_intent, best_tags:
                  best_intent : The best intent for given results
                  best_tags : The Tags for result