code: def _get_bigram_feats(self, unigrams):
      if len(unigrams) > 1:
          bigrams = map(" ".join, zip(unigrams[:-1], unigrams[1:]))
      else:
          bigrams = []
      return bigrams
  
file_path: scattertext/scattertext/features/FeatsFromSpacyDoc.py
imports: from collections import Counter
  from itertools import chain
  import pandas
label_desc: Use image node_id 10 for calling the FeatsFromSpacyDoc obj's underlying member method code with example usage: obj._get_bigram_feats(unigrams) and returns: bigrams