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_countef 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
docs: Parameters
  		----------
  		doc, Spacy Docs
  
  		Returns
  		-------
  		Counter (unigram, bigram) -> count