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

Method compact_logical_form

components/expr_parser.py:71–73  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

69
70 # nothing special. just fit legacy code input syle
71 def compact_logical_form(self):
72 lf = self.logical_form()
73 return lf.replace('( ', '(').replace(' )', ')')
74
75 def skeleton_form(self):
76 if self.depth == 0:

Callers

nothing calls this directly

Calls 1

logical_formMethod · 0.95

Tested by

no test coverage detected