code: def get_default_opts():
      parser = ArgumentParser(description="data sample prepare")
      data_prepare_opts(parser)
  
      default_opts = [
          "-config",
          "data/data.yaml",
          "-src_vocab",
          "data/vocab-train.src",
          "-tgt_vocab",
          "data/vocab-train.tgt",
      ]
  
      opt = parser.parse_known_args(default_opts)[0]
      # Inject some dummy training options that may needed when build fields
      opt.copy_attn = False
      ArgumentParser.validate_prepare_opts(opt)
      return opt
  
file_path: OpenNMT-py/onmt/tests/test_data_prepare.py
imports: import copy
  import unittest
  import glob
  import os
  from onmt.utils.parse import ArgumentParser
  from onmt.opts import data_prepare_opts
  from onmt.train_single import prepare_transforms_vocabs
  from onmt.constants import CorpusName
label_desc: Use image node_id 1 for calling a global function with example usage: get_default_opts() and returns: opt