Method
__init__
(self, args, language: str = None)
Source from the content-addressed store, hash-verified
| 1116 | """Processor for the X-Stance data set.""" |
| 1117 | |
| 1118 | def __init__(self, args, language: str = None): |
| 1119 | super().__init__(args) |
| 1120 | if language is not None: |
| 1121 | assert language in ['de', 'fr'] |
| 1122 | self.language = language |
| 1123 | |
| 1124 | def get_train_examples(self, data_dir): |
| 1125 | return self._create_examples(os.path.join(data_dir, "train.jsonl")) |
Callers
nothing calls this directly
Tested by
no test coverage detected