def __init__(self, args):
        """
        Initialize the internal structures of the DSTC2 parser.
        """

        super(Parser, self).__init__()

        self.nlu = None
        self.path = None
        self.ontology_path = None
        self.database_path = None
        self.ontology = None
        self.database = None
        self.DSTrackerSys = None
        self.DSTrackerUsr = None
        self.NLUSys = None
        self.NLUUsr = None
        self.DStateSys = None
        self.prev_sys_act = None
        self.reward = SlotFillingReward()

        self.informable_slots = []
        self.requestable_slots = []
        self.system_requestable_slots = []

        self.NActions = 0
        self.agent_role = 'system'

        self.dstc2_acts = ['repeat', 'canthelp', 'affirm', 'negate', 'deny',
                           'ack', 'thankyou', 'bye',
                           'reqmore', 'hello', 'welcomemsg', 'expl-conf',
                           'select', 'offer', 'reqalts',
                           'confirm-domain', 'confirm']

        self.dontcare_patterns = ['anything', 'any', 'i do not care',
                                  'i dont care', 'dont care',
                                  'it does not matter', 'it doesnt matter',
                                  'does not matter', 'doesnt matter']

        self.bye_patterns = ['bye']

        # Flag that controls whether we will use an nlu to parse the utterance
        # in the logs or the provided
        # annotations (for both sides, system and user).
        self.TRAIN_LANG_2_LANG = False

        # Counts of user responses to system actions -
        # {system_act: {total_turns: int, user_act: frequency}}
        self.user_policy_reactive = {}

        # Frequency-based user dialogue_policy
        self.user_policy = {}

        # Counts of system responses to system actions given the state
        #   {encoding(DStateSys, user_act):
        #                               {total_turns: int, sys_act: frequency}}
        self.system_policy_reactive = {}

        # Frequency-based system dialogue_policy
        self.system_policy = {}

        # Keep self.goals
        self.goals = []

        self.recorder_sys = None
        self.recorder_usr = None

        Initialize the internal structures of the DSTC2 parser.
        
plato/utilities/parser/parse_dstc2.py