class_docstr: Problem spec for parsing tokenized Icelandic text to constituency trees.
code: def generate_data(self, data_dir, tmp_dir, task_id=-1):
      generator_utils.generate_dataset_and_shuffle(
          tabbed_parsing_token_generator(
              data_dir,
              tmp_dir,
              True,
              "ice",
              self.source_vocab_size,
              self.targeted_vocab_size,
          ),
          self.training_filepaths(
              data_dir, self.num_shards, shuffled=False
          ),
          tabbed_parsing_token_generator(
              data_dir,
              tmp_dir,
              False,
              "ice",
              self.source_vocab_size,
              self.targeted_vocab_size,
          ),
          self.dev_filepaths(data_dir, 1, shuffled=False),
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import os
  from tensor2tensor.data_generators import generator_utils
  from tensor2tensor.data_generators import problem
  from tensor2tensor.data_generators import text_encoder
  from tensor2tensor.data_generators import text_problems
  from tensor2tensor.layers import modalities
  from tensor2tensor.utils import registry
label_desc: Use image node_id 7 for calling the ParsingIcelandic16k obj's underlying member method code with example usage: obj.generate_data(data_dir, tmp_dir, task_id) without return types