code: def vo_dump():
      vo_file = args.vo
      out_file = args.output
      mentions_event_gold_file = [args.mentions]
      vocab = load_mentions_vocab_from_files(
          mentions_event_gold_file, True
      )
      vo = VerboceanRelationExtraction.load_verbocean_file(vo_file)
      vo_for_vocab = {}
      for word in vocab:
          if word in vo:
              vo_for_vocab[word] = vo[word]
  
      logger.info(
          "Found %d words from vocabulary", len(vo_for_vocab.keys())
      )
      logger.info("Preparing to save refDict output file")
  
      with open(out_file, "w") as f:
          json.dump(vo_for_vocab, f)
      logger.info("Done saved to-%s", out_file)
  
imports: import argparse
  import json
  import logging
  from nlp_architect.data.cdc_resources.relations.verbocean_relation_extraction import VerboceanRelationExtraction
  from nlp_architect.models.cross_doc_coref.system.cdc_utils import load_mentions_vocab_from_files
  from nlp_architect.utils import io
label_desc: Use image node_id 1 for calling a global function with example usage: vo_dump() without return types