code: def add_args(parser):
      TranslationTask.add_args(parser)
      # bart setting
      parser.add_argument(
          "--mask",
          default=0.0,
          type=float,
          help="fraction of words/subwords that will be masked",
      )
      parser.add_argument(
          "--mask-random",
          default=0.0,
          type=float,
          help="instead of using [MASK], use random token this often",
      )
      parser.add_argument(
          "--insert",
          default=0.0,
          type=float,
          help="insert this percentage of additional random tokens",
      )
      parser.add_argument(
          "--poisson-lambda",
          default=3.0,
          type=float,
          help="randomly shuffle sentences for this proportion of inputs",
      )
      parser.add_argument(
          "--mask-length",
          default="span-poisson",
          type=str,
          choices=["subword", "word", "span-poisson"],
          help="mask length to choose",
      )
      parser.add_argument(
          "--replace-length",
          default=1,
          type=int,
          help="when masking N tokens, replace with 0, 1, or N tokens (use -1 for N)",
      )
  
      # multi-lingual
      parser.add_argument(
          "--multilang-sampling-alpha",
          type=float,
          default=1.0,
          help="smoothing alpha for sample ratios across multiple datasets",
      )
      parser.add_argument(
          "--lang-pairs",
          default="",
          metavar="PAIRS",
          help="comma-separated list of language pairs (in training order): phnen-en,phnfr-fr,phnit-it. Do masking",
      )
      parser.add_argument(
          "--lang-pairs-bitext",
          default="",
          metavar="PAIRS",
          help="comma-separated list of language pairs (in training order): en-de,en-fr,de-fr. No masking",
      )
      parser.add_argument(
          "--add-src-lang-token", default=False, action="store_true"
      )
      parser.add_argument(
          "--add-tgt-lang-token", default=False, action="store_true"
      )
      parser.add_argument(
          "--no-whole-word-mask-langs",
          type=str,
          default="",
          metavar="N",
          help="languages without spacing between words dont support whole word masking",
      )
      parser.add_argument(
          "--use-mask-whole-words", default=False, action="store_true"
      )
  
imports: import itertools
  import logging
  import os
  import re
  import numpy
  import torch
  from examples.speech_text_joint_to_text.data.pair_denoising_dataset import LanguagePairDenoisingDataset
  from fairseq import utils
  from fairseq.data import ConcatDataset, Dictionary, LanguagePairDataset, ResamplingDataset, TransformEosConcatLangPairDataset, TransformEosLangPairDataset, data_utils, indexed_dataset
  from fairseq.data.encoders.utils import get_whole_word_mask
  from fairseq.tasks import register_task
  from fairseq.tasks.translation import TranslationTask
label_desc: Use image node_id 1 for calling the PairedDenoisingTask obj's underlying member method code with example usage: obj.add_args(parser) without return types