class_docstr: SMCN Generator aims to apply SM data generation function.
class_docstr_tok: ["SMCN","Generator","aims","to","apply","SM","data","generation","function","."]
code: def __init__(
      self,
      task="SMCN",
      max_trans=1,
      fields=["sentence1", "sentence2"],
      trans_methods=None,
      trans_config=None,
      return_unk=True,
      sub_methods=None,
      sub_config=None,
      attack_methods=None,
      validate_methods=None,
      **kwargs,
  ):
      super().__init__(
          task=task,
          max_trans=max_trans,
          fields=fields,
          trans_methods=trans_methods,
          trans_config=trans_config,
          return_unk=return_unk,
          sub_methods=sub_methods,
          sub_config=sub_config,
          attack_methods=attack_methods,
          validate_methods=validate_methods,
          **kwargs,
      )
  
imports: import unittest
  from textflint.generation.generator import Generator
label_desc: Use image node_id 1 to create a new SMCNGenerator object from inherited base classes: Generator with example: obj = SMCNGenerator(task, max_trans, fields, trans_methods, trans_config, return_unk, sub_methods, sub_config, attack_methods, validate_methods)