code: def get_top_model_term_lists(self):
      return (
          self._lexicon_df.reset_index()
          .groupby("cat")["term"]
          .apply(list)
          .to_dict()
      )
  
file_path: scattertext/scattertext/features/FeatsFromMoralFoundationsDictionary.py
imports: import io
  import pkgutil
  from collections import Counter
  from re import split
  from sys import version_info
  import pandas
  from scattertext.features.FeatsFromSpacyDoc import FeatsFromSpacyDoc
label_desc: Use image node_id 7 for calling the FeatsFromMoralFoundationsDictionary obj's underlying member method code with example usage: obj.get_top_model_term_lists() and returns: self