MCPcopy Create free account
hub / github.com/LHRLAB/ChatKBQA / textualize_s_expr

Function textualize_s_expr

components/expr_parser.py:242–245  ·  view source on GitHub ↗
(expr)

Source from the content-addressed store, hash-verified

240 return ast
241
242def textualize_s_expr(expr):
243 ast = parse_s_expr(expr)
244 return ast.textual_form()
245 # print(ast.logical_form_with_type())
246
247def simplify_textual_form(expr):
248 toks = expr.split(' ')

Callers

nothing calls this directly

Calls 2

parse_s_exprFunction · 0.85
textual_formMethod · 0.45

Tested by

no test coverage detected