class_docstr: Processor for the XNLI data set.
docstr: See base class.
docstr_tok: ["See","base","class","."]
code: def get_train_examples(self, data_dir):
      """See base class."""
      lines = self._read_tsv(
          os.path.join(
              data_dir,
              "multinli",
              "multinli.train.%s.tsv" % self.language,
          )
      )
      examples = []
      for i, line in enumerate(lines):
          if i == 0:
              continue
          guid = "train-%d" % (i)
          text_a = tx.utils.compat_as_text(line[0])
          text_b = tx.utils.compat_as_text(line[1])
          label = tx.utils.compat_as_text(line[2])
          if label == tx.utils.compat_as_text("contradictory"):
              label = tx.utils.compat_as_text("contradiction")
          examples.append(
              InputExample(
                  guid=guid, text_a=text_a, text_b=text_b, label=label
              )
          )
      return examples
  
imports: import os
  import csv
  import collections
  import tensorflow
  import texar.tf
label_desc: Use image node_id 2 for calling the XnliProcessor obj's underlying member method code with example usage: obj.get_train_examples(data_dir) and returns: examples