original_docstring: 
          Make ngrams from a list of tokens/lemmas
          :param items: list of tokens, lemmas or other strings to form ngrams
          :param alphas_only: should filter numeric and alpha-numeric types or not
          :return: filtered list of tokens/lemmas
          
docstring: Make ngrams from a list of tokens/lemmas
docstring_tokens: Make ngrams from a list of tokens / lemmas
code: def _filter(self, items, alphas_only=True):
          """
          Make ngrams from a list of tokens/lemmas
          :param items: list of tokens, lemmas or other strings to form ngrams
          :param alphas_only: should filter numeric and alpha-numeric types or not
          :return: filtered list of tokens/lemmas
          """
          _alphas_only = self.alphas_only or alphas_only
  
          if _alphas_only:
              filter_fn = lambda x: x.isalpha() and x not in self._stopwords
          else:
              filter_fn = lambda x: x not in self._stopwords
  
          return list(filter(filter_fn, items))
code_tokens: def _filter ( self , items , alphas_only = True ) : _alphas_only = self . alphas_only or alphas_only if _alphas_only : filter_fn = lambda x : x . isalpha ( ) and x not in self . _stopwords else : filter_fn = lambda x : x not in self . _stopwords return list ( filter ( filter_fn , items ) )
short_docstring: Make ngrams from a list of tokens/lemmas
short_docstring_tokens: Make ngrams from a list of tokens / lemmas
comment: """
          Make ngrams from a list of tokens/lemmas
          :param items: list of tokens, lemmas or other strings to form ngrams
          :param alphas_only: should filter numeric and alpha-numeric types or not
          :return: filtered list of tokens/lemmas
          """