class_docstr: Reads in the a Pair Dataset, split in two files
class_docstr_tok: ["Reads","in","the","a","Pair","Dataset",",","split","in","two","files"]
code: def get_examples(self, max_examples=0):
      """ """
      fIns = []
      for filepath in self.filepaths:
          fIn = (
              gzip.open(filepath, "rt", encoding="utf-8")
              if filepath.endswith(".gz")
              else open(filepath, encoding="utf-8")
          )
          fIns.append(fIn)
  
      examples = []
  
      eof = False
      while not eof:
          texts = []
          for fIn in fIns:
              text = fIn.readline()
  
              if text == "":
                  eof = True
                  break
  
              texts.append(text)
  
          if eof:
              break
  
          examples.append(
              InputExample(
                  guid=str(len(examples)), texts=texts, label=1
              )
          )
          if max_examples > 0 and len(examples) >= max_examples:
              break
  
      return examples
  
imports: from .None import InputExample
  import gzip
label_desc: Use image node_id 2 for calling the PairedFilesReader obj's underlying member method code with example usage: obj.get_examples(max_examples) and returns: examples