コード例 #1
0
def make_term(asker, computation_bindings, head, bindings):
    return asker.reply(answer=representations.make(
        strings.to_str(asker, head),
        dictionaries.to_term_bindings(asker, bindings)
    ))
コード例 #2
0
def askQ(asker, computation_bindings, head, bindings):
    return asker.ask_tail(T(strings.to_str(asker, head), dictionaries.to_term_bindings(asker,bindings)))