(self, schema)
| 9 | |
| 10 | class PredictParser: |
| 11 | def __init__(self, schema): |
| 12 | self.predicate_set = schema.type_list |
| 13 | self.role_set = schema.role_list |
| 14 | |
| 15 | def decode(self, gold_list, pred_list, text_list=None, raw_list=None) -> Tuple[List, Counter]: |
| 16 | """ |
nothing calls this directly
no outgoing calls
no test coverage detected