code: def to_df(self):
      output = []
      for word in self.data:
          for sense in self.data[word]:
              item = {"token": word, "pos": sense["tag"]}
              output.append(item)
      df = pd.DataFrame(output)
      return df
  
file_path: underthesea/underthesea/utils/col_dictionary.py
imports: from os import listdir
  from os.path import dirname, join
  import pandas
  import yaml
  from underthesea.file_utils import UNDERTHESEA_FOLDER
  from underthesea.utils.col_external_dictionary import Cache, VLSPDictionary
  from underthesea.utils.col_script import UDDataset
label_desc: Use image node_id 4 for calling the Dictionary obj's underlying member method code with example usage: obj.to_df() and returns: df