code: def _get_terms_from_doc(self, doc):
      return Counter(self._keyword_processor.extract_keywords(str(doc)))
  
imports: from abc import ABC, abstractmethod
  from collections import Counter
  from functools import reduce
  from re import split
  from sys import version_info
  import pandas
  from flashtext import KeywordProcessor
  from scattertext.ScatterChart import check_topic_model_string_format
  from scattertext.features.FeatsFromSpacyDoc import FeatsFromSpacyDoc
label_desc: Use image node_id 3 for calling the FeatsFromTopicModel obj's underlying member method code with example usage: obj._get_terms_from_doc(doc) and returns: Counter