(self)
| 73 | return lf.replace('( ', '(').replace(' )', ')') |
| 74 | |
| 75 | def skeleton_form(self): |
| 76 | if self.depth == 0: |
| 77 | return self.construction |
| 78 | else: |
| 79 | fields_str = [x.skeleton_form() for x in self.fields] |
| 80 | return ' '.join(['(', self.construction] + fields_str + [')']) |
| 81 | |
| 82 | def logical_form_with_type(self): |
| 83 | if self.depth == 0: |
no outgoing calls