docstr: Parameters
  ----------
  doc, Spacy Docs
  
  Returns
  -------
  Counter (unigram, bigram) -> count
docstr_tok: ["Parameters","--","--","--","--","--","doc",",","Spacy","Docs","Returns","--","--","--","-","Counter","(","unigram",",","bigram",")","-",">","count"]
code: def get_feats(self, doc):
      """
      Parameters
      ----------
      doc, Spacy Docs
  
      Returns
      -------
      Counter (unigram, bigram) -> count
      """
      ngram_counter = Counter()
      for sent in doc.sents:
          ngrams = self.phrases[str(sent)]
          for subphrases in self.phrases[1:]:
              ngrams = subphrases[str(sent)]
          for ngram in ngrams:
              ngram_counter[ngram] += 1
      return ngram_counter
  
imports: import itertools
  import warnings
  from collections import Counter
  from scattertext.ParsedCorpus import ParsedCorpus
label_desc: Use image node_id 3 for calling the FeatsFromGensim obj's underlying member method code with example usage: obj.get_feats(doc) and returns: ngram_counter