code: def _get_unigram_feats(self, sent):
      unigrams = []
      for tok in sent:
          if tok.pos_ not in ("PUNCT", "SPACE", "X"):
              if tok.ent_type_ in self._entity_types_to_censor:
                  if not self._ignore_censored_types:
                      unigrams.append("_" + tok.ent_type_)
              elif tok.tag_ in self._tag_types_to_censor:
                  if not self._ignore_censored_types:
                      unigrams.append(tok.tag_)
              elif tok.pos_ in self._pos_types_to_censor:
                  if not self._ignore_censored_types:
                      unigrams.append(tok.pos_)
              elif self._use_lemmas and tok.lemma_.strip():
                  unigrams.append(
                      self._post_process_term(
                          tok.lemma_.strip().lower()
                      )
                  )
              elif tok.lower_.strip():
                  unigrams.append(
                      self._post_process_term(tok.lower_.strip())
                  )
      return unigrams
  
file_path: scattertext/scattertext/features/FeatsFromSpacyDoc.py
imports: from collections import Counter
  from itertools import chain
  import pandas
label_desc: Use image node_id 11 for calling the FeatsFromSpacyDoc obj's underlying member method code with example usage: obj._get_unigram_feats(sent) and returns: unigrams