Override this to process (detokenize, strip, replace, etc.) individual documents. This can be used in a map over documents of a data split. E.g. `map(self._process_doc, self.dataset["validation"])` :return: dict The processed version of the specified `do
(self, doc)
| 311 | return self.test_docs() |
| 312 | |
| 313 | def _process_doc(self, doc): |
| 314 | """ |
| 315 | Override this to process (detokenize, strip, replace, etc.) individual |
| 316 | documents. This can be used in a map over documents of a data split. |
| 317 | E.g. `map(self._process_doc, self.dataset["validation"])` |
| 318 | |
| 319 | :return: dict |
| 320 | The processed version of the specified `doc`. |
| 321 | """ |
| 322 | return doc |
| 323 | |
| 324 | @property |
| 325 | def instances(self): |
nothing calls this directly
no outgoing calls
no test coverage detected