class_docstr: Reads Wikipedia pages one at a time, only uses summaries.
class_docstr_tok: ["Reads","Wikipedia","pages","one","at","a","time",",","only","uses","summaries","."]
code: def setup_data(self, path):
      print("loading: " + path)
      with PathManager.open(path) as wf:
          for article_json in wf:
              article = json.loads(article_json)
              title = article["title"]
              text = article["text"]
              if self.key_value:
                  yield (title, [text]), True
              else:
                  yield (title + "\n" + text, [""]), True
  
imports: from parlai.core.teachers import DialogTeacher, ChunkTeacher, ChunkOutput
  from parlai.utils.io import PathManager
  from parlai.core.message import Message
  from .build import build
  import json
  import os
  from typing import List, Tuple
label_desc: Use image node_id 2 for calling the SummaryTeacher obj's underlying member method code with example usage: obj.setup_data(path) without return types