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

Method annotate_spans

data_convert/format/text2target.py:22–22  ·  view source on GitHub ↗
(tokens: List[str], predicate_arguments: List[Dict], zh=False)

Source from the content-addressed store, hash-verified

20class TargetFormat:
21 @staticmethod
22 def annotate_spans(tokens: List[str], predicate_arguments: List[Dict], zh=False): pass
23
24
25# et + rt + src -> ((Role)(Role)) 论元抽取任务, 在给定schema文件的情况下才可以使用该方案

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected