(cls, filename_prefix)
| 320 | |
| 321 | @classmethod |
| 322 | def load_from_file(cls, filename_prefix): |
| 323 | filename = cls._filename(filename_prefix) |
| 324 | vocab_lines, kwargs = cls._read_lines_from_file(filename) |
| 325 | tokenizer = tfds.deprecated.text.Tokenizer.load_from_file(filename) |
| 326 | return cls(vocab_list=vocab_lines, tokenizer=tokenizer, **kwargs) |
| 327 | |
| 328 | def encode_example(self, *, claim, evidence, claim_label, evidence_label, |
| 329 | metadata, wikipedia_url, sentence_id): |
nothing calls this directly
no test coverage detected