docstr: Method to load referent dictionary to memory
  
  Returns:
      List[RelationType]
docstr_tok: ["Method","to","load","referent","dictionary","to","memory","Returns",":","List","[","RelationType","]"]
code: def load_reference_dict(dict_fname: str) -> Dict[str, List[str]]:
      """
      Method to load referent dictionary to memory
  
      Returns:
          List[RelationType]
      """
      word_dict = {}
      first = True
      with open(dict_fname, "r", encoding="utf-8") as f:
          for line in f:
              if first:
                  first = False
                  continue
              word1, word2, _, npmi = line.strip().split("\t")
              npmi = float(npmi)
              if npmi >= 0.2:
                  if word1 not in word_dict:
                      word_dict[word1] = []
                  word_dict[word1].append(word2)
      return word_dict
  
file_path: nlp-architect/nlp_architect/data/cdc_resources/relations/referent_dict_relation_extraction.py
imports: import logging
  import os
  from typing import Dict, List, Set
  from nlp_architect.common.cdc.mention_data import MentionDataLight
  from nlp_architect.data.cdc_resources.relations.relation_extraction import RelationExtraction
  from nlp_architect.data.cdc_resources.relations.relation_types_enums import OnlineOROfflineMethod, RelationType
  from nlp_architect.utils.io import load_json_file
  from nlp_architect.utils.string_utils import StringUtils
label_desc: Use image node_id 6 for calling the ReferentDictRelationExtraction obj's underlying member method code with example usage: obj.load_reference_dict(dict_fname) and returns: word_dict