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

Method textual_form

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

Source from the content-addressed store, hash-verified

119 super().__init__('R', 'R', data_type, fields)
120
121 def textual_form(self):
122 # only surface relation is reserved
123 assert self.depth == 1
124 return self.textual_form_core()
125
126 def textual_form_core(self):
127 return self.fields[0].textual_form() + ' by'

Callers 8

textual_form_coreMethod · 0.45
textual_form_coreMethod · 0.45
textual_form_coreMethod · 0.45
textual_form_coreMethod · 0.45
textual_form_coreMethod · 0.45
textual_form_coreMethod · 0.45
textualize_s_exprFunction · 0.45
test_text_converterFunction · 0.45

Calls 1

textual_form_coreMethod · 0.95

Tested by 1

test_text_converterFunction · 0.36