def interpret_sents(inputs, grammar, semkey='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
dataset/ETHPy150Open nltk/nltk/nltk/sem/util.py/interpret_sents