code: def get_text(self):
      text = []
  
      for input_file in self.input_files:
          with open(input_file) as f:
              f_json = json.load(f)
              # Add 'questions' from visdial
              text += f_json["data"]["questions"]
              # Add 'answers' from visdial
              text += f_json["data"]["answers"]
  
              for dialog in f_json["data"]["dialogs"]:
                  text += [dialog["caption"]]
      return text
  
imports: import json
  from tools.scripts.gqa.extract_vocabulary import ExtractVocabulary
label_desc: Use image node_id 2 for calling the ExtractVisdialVocabulary obj's underlying member method code with example usage: obj.get_text() and returns: text