code: def score_text(txt, kwdict):
      score = 0
      for kw in kwdict.keys():
          if string.find(txt, kw) > -1:
              score += kwdict[kw]
      return score
  
label_desc: Use image node_id 1 for calling a global function with example usage: score_text(txt, kwdict) and returns: score