def evaluate_sents(inputs, grammar, model, assignment, trace=0):
    return [[(syn, sem, model.evaluate("%s" % sem, assignment, trace=trace))
            for (syn, sem) in interpretations]
            for interpretations in interpret_sents(inputs, grammar)]
Add the truth-in-a-model value to each semantic representation
dataset/ETHPy150Open nltk/nltk/nltk/sem/util.py/evaluate_sents