class_docstr: Full Wikipedia teacher that splits the chunks into train/valid/test.
class_docstr_tok: ["Full","Wikipedia","teacher","that","splits","the","chunks","into","train\/valid\/test","."]
docstr: Given the chunk index, load examples from that chunk.
  
  Return a list of tuples. The function `_create_message` will take these tuples
  to form the Message object that is returned by the teacher.
docstr_tok: ["Given","the","chunk","index",",","load","examples","from","that","chunk",".","Return","a","list","of","tuples",".","The","function","`","_create_message","`","will","take","these","tuples","to","form","the","Message","object","that","is","returned","by","the","teacher","."]
code: def load_from_chunk(self, chunk_idx: int):
      """
      Given the chunk index, load examples from that chunk.
  
      Return a list of tuples. The function `_create_message` will take these tuples
      to form the Message object that is returned by the teacher.
      """
      output = []
      chunk_path = os.path.join(
          self.folder, self.chunk_idx_to_file[chunk_idx]
      )
      for wiki_file in os.listdir(chunk_path):
          wiki_file_path = os.path.join(chunk_path, wiki_file)
          with PathManager.open(wiki_file_path) as wf:
              for article_json in wf:
                  article = json.loads(article_json)
                  title = article["title"]
                  text = article["text"]
                  output.append((title, text))
  
      return output
  
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 6 for calling the FullSplitTeacher obj's underlying member method code with example usage: obj.load_from_chunk(chunk_idx) and returns: output