code: def get_factors(sentence, idx):
      word = sentence[idx]
  
      factors = [word.lemma, word.tag, word.func]
  
      return factors
  
imports: import sys
  import re
  from collections import namedtuple
label_desc: Use image node_id 3 for calling a global function with example usage: get_factors(sentence, idx) and returns: factors