def interpret_sents(inputs, grammar, semkey=u'SEM', trace=0):
 return [[(syn, root_semrep(syn, semkey)) for syn in syntrees] for syntrees in parse_sents(inputs, grammar, trace=trace)]

def interpret_sents ( inputs , grammar , semkey = u'SEM' , trace = 0 ) : return [ [ ( syn , root_semrep ( syn , semkey ) ) for syn in syntrees ] for syntrees in parse_sents ( inputs , grammar , trace = trace ) ]
add the semantic representation to each syntactic parse tree of each input sentence .