code: def _dataset(self, path, **kwargs):
      def _absolute(p):
          return "{}{}{}".format(self.root, os.sep, p)
  
      if isinstance(path, six.string_types):
          path = _absolute(path)
      else:
          path = [_absolute(p) for p in path]
  
      return datasets.TextDataset(path, **kwargs)
  
imports: from __future__ import unicode_literals
  import os
  import pickle
  import unittest
  import six
  from chainer import datasets
  from chainer import testing
label_desc: Use image node_id 2 for calling the TestTextDataset obj's underlying member method code with example usage: obj._dataset(path) and returns: datasets, str