code: def parseLexicon(lex_str):
      return fromstring(lex_str)
  
imports: import re
  from collections import defaultdict
  from nltk.ccg.api import CCGVar, Direction, FunctionalCategory, PrimitiveCategory
  from nltk.internals import deprecated
  from nltk.sem.logic import Expression
label_desc: Use image node_id 8 for calling a global function with example usage: parseLexicon(lex_str) and returns: fromstring