code: def to_data(self):
      data = {}
      words = sorted(self.words)
      for text in words:
          word = self.words[text]
          if word.data is None:
              content = ""
          elif len(word.data) == 0:
              content = ""
          else:
              content = word.data
          data[text] = content
      return data
  
file_path: underthesea/datasets/DI_Vietnamese-UVD/scripts/data.py
imports: import joblib
  import yaml
label_desc: Use image node_id 4 for calling the Dictionary obj's underlying member method code with example usage: obj.to_data() and returns: data