def dataset_reader(self, dataset_doc):
     return DocReader(self.definition['dataset'], self.dataset_fields,
                      dataset_doc)
Exemple #2
0
 def dataset_reader(self, dataset_doc: Mapping[str, Field]) -> DocReader:
     return DocReader(self.definition['dataset'], self.dataset_fields,
                      dataset_doc)
Exemple #3
0
 def dataset_reader(self, dataset_doc):
     return DocReader(self.dataset_offsets, self.dataset_fields,
                      dataset_doc)