code: def get_word_dict(cur_list, cur_dict):
      for element in cur_list:
          # print(f"ele:{element}")
          if element not in cur_dict:
              cur_dict[element] = 1
      return cur_dict
  
imports: import numpy
  import rdkit
  from rdkit import Chem
  from rdkit.Chem import AllChem
  import rdkit.Chem.rdPartialCharges
  from ogb.utils.features import allowable_features, atom_to_feature_vector, atom_feature_vector_to_dict, bond_feature_vector_to_dict
  from local_feature import bond_to_feature_vector, get_bond_feature_dims
  from copy import deepcopy
  import hashlib
label_desc: Use image node_id 21 for calling a global function with example usage: get_word_dict(cur_list, cur_dict) and returns: cur_dict