code: def augment_dictionary(
      dictionary: Dictionary,
      language_list: List[str],
      lang_tok_style: str,
      langtoks_specs: Sequence[str] = (LangTokSpec.main.value,),
      extra_data: Optional[Dict[str, str]] = None,
  ) -> None:
      for spec in langtoks_specs:
          for language in language_list:
              dictionary.add_symbol(
                  get_lang_tok(
                      lang=language,
                      lang_tok_style=lang_tok_style,
                      spec=spec,
                  )
              )
  
      if lang_tok_style == LangTokStyle.mbart.value or (
          extra_data is not None
          and LangTokSpec.mono_dae.value in extra_data
      ):
          dictionary.add_symbol("<mask>")
  
file_path: fairseq/fairseq/data/multilingual/multilingual_utils.py
imports: from enum import Enum
  from typing import Dict, List, Optional, Sequence
  import torch
  from fairseq.data import Dictionary
label_desc: Use image node_id 2 for calling a global function with example usage: augment_dictionary(dictionary, language_list, lang_tok_style, langtoks_specs, extra_data) without return types