code: def save(self, dictionary_path):
      file = join(dictionary_path, "words.txt")
      if exists(file):
          os.remove(file)
      f = open(file, "a")
      for word in self.words:
          content = {"text": word.text, "source": word.source}
          content = json.dumps(content, ensure_ascii=False)
          f.write(content + "\n")
  
file_path: underthesea/datasets/DI_Vietnamese-UVD/scripts/text_dictionary.py
imports: import json
  import os
  from os.path import join, exists
label_desc: Use image node_id 2 for calling the Dictionary obj's underlying member method code with example usage: obj.save(dictionary_path) without return types