code: def padded_everygrams(order, sentence):
      """Helper with some useful defaults.
  
      Applies pad_both_ends to sentence and follows it up with everygrams.
      """
      return everygrams(
          list(pad_both_ends(sentence, n=order)), max_len=order
      )
  
imports: from functools import partial
  from itertools import chain
  from nltk.util import everygrams, pad_sequence
label_desc: Use image node_id 1 for calling a global function with example usage: padded_everygrams(order, sentence) and returns: everygrams