MCPcopy Create free account
hub / github.com/RingBDStack/GDAP / __init__

Method __init__

extraction/predict_parser/predict_parser.py:11–13  ·  view source on GitHub ↗
(self, schema)

Source from the content-addressed store, hash-verified

9
10class 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 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected