hunk.code_window:             )
               langs = sorted(langs)
               logger.info(f"inferred language list: {langs}")
           elif args.lang_dict:
               with PathManager.open(args.lang_dict, "r", encoding="utf-8") as f:
                   langs = [lang.strip() for lang in f.readlines() if lang.strip()]
                   logger.info(
                       f"loaded language list from {args.lang_dict} as they are ordered in file"
  
hunk.labels: keep keep keep keep replace keep keep keep
hunk.after_edit:             with open(PathManager.get_local_path(args.lang_dict), "r", encoding="utf-8") as f:
  
hunk.file_path: fairseq/data/multilingual/multilingual_data_manager.py
hunk.type: replace
file: .. fairseq documentation master file, created by
     sphinx-quickstart on Fri Aug 17 21:45:30 2018.
     You can adapt this file completely to your liking, but it should at least
     contain the root `toctree` directive.
  
  :github_url: https://github.com/pytorch/fairseq
  
  
  fairseq documentation
  =====================
  
  Fairseq is a sequence modeling toolkit written in `PyTorch
  <http://pytorch.org/>`_ that allows researchers and developers to
  train custom models for translation, summarization, language modeling and other
  text generation tasks.
  
  .. toctree::
      :maxdepth: 1
      :caption: Getting Started
  
      getting_started
      command_line_tools
  
  .. toctree::
      :maxdepth: 1
      :caption: Extending Fairseq
  
      overview
      tutorial_simple_lstm
      tutorial_classifying_names
  
  .. toctree::
      :maxdepth: 2
      :caption: Library Reference
  
      tasks
      models
      criterions
      optim
      lr_scheduler
      data
      modules
  
  
  Indices and tables
  ==================
  
  * :ref:`genindex`
  * :ref:`search`
  