MCPcopy Create free account
hub / github.com/google-research/language / key_annotation

Method key_annotation

language/diffqg/annotation.py:88–89  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

86 return json.dumps(dataclasses.asdict(self))
87
88 def key_annotation(self) -> str:
89 return f"{self.base_text}::{self.target_text}::{self.answer_span}"
90
91
92def _read_annotations(diffqg_fi: str) -> Dict[str, Annotation]:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected