docstr: Create dataset objects for splits of the TREC dataset.
  
  Args:
      text_field: The field that will be used for the sentence.
      label_field: The field that will be used for label data.
      root: Root dataset storage directory. Default is '.data'.
      train: The filename of the train data. Default: 'train_5500.label'.
      test: The filename of the test data, or None to not load the test
          set. Default: 'TREC_10.label'.
      Remaining keyword arguments: Passed to the splits method of
          Dataset.
docstr_tok: ["Create","dataset","objects","for","splits","of","the","TREC","dataset",".","Args",":","text_field",":","The","field","that","will","be","used","for","the","sentence",".","label_field",":","The","field","that","will","be","used","for","label","data",".","root",":","Root","dataset","storage","directory",".","Default","is","'.data","'",".","train",":","The","filename","of","the","train","data",".","Default",":","'train_5500.label","'",".","test",":","The","filename","of","the","test","data",",","or","None","to","not","load","the","test","set",".","Default",":","'TREC_10.label","'",".","Remaining","keyword","arguments",":","Passed","to","the","splits","method","of","Dataset","."]
code: def splits(
      cls,
      text_field,
      label_field,
      root=".data",
      train="train_5500.label",
      test="TREC_10.label",
      **kwargs,
  ):
      """Create dataset objects for splits of the TREC dataset.
  
      Args:
          text_field: The field that will be used for the sentence.
          label_field: The field that will be used for label data.
          root: Root dataset storage directory. Default is '.data'.
          train: The filename of the train data. Default: 'train_5500.label'.
          test: The filename of the test data, or None to not load the test
              set. Default: 'TREC_10.label'.
          Remaining keyword arguments: Passed to the splits method of
              Dataset.
      """
      return super(TREC, cls).splits(
          root=root,
          text_field=text_field,
          label_field=label_field,
          train=train,
          validation=None,
          test=test,
          **kwargs,
      )
  
imports: import os
  from ..None import data
label_desc: Use image node_id 3 for calling the TREC obj's underlying member method code with example usage: obj.splits(cls, text_field, label_field, root, train, test) and returns: super