class_docstr: Generate vocabulary and training data for parsing.
    
class_docstr_tok: ["Generate","vocabulary","and","training","data","for","parsing","."]
code: def max_samples_for_vocab(self):
      return 1000
  
file_path: tensor2tensor/tensor2tensor/data_generators/wsj_parsing.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import os
  from absl import flags
  from tensor2tensor.data_generators import problem
  from tensor2tensor.data_generators import text_problems
  from tensor2tensor.utils import registry
  import tensorflow.compat.v1
label_desc: Use image node_id 4 for calling the WsjParsing obj's underlying member method code with example usage: obj.max_samples_for_vocab() and returns: int