Datasets:

Modalities:
Text
Formats:
parquet
Libraries:
Datasets
pandas
License:
system HF staff commited on
Commit
098a87d
1 Parent(s): 88e36da

Update files from the datasets library (from 1.6.1)

Browse files

Release notes: https://github.com/huggingface/datasets/releases/tag/1.6.1

Files changed (1) hide show
  1. opus_rf.py +2 -2
opus_rf.py CHANGED
@@ -79,7 +79,7 @@ class OpusRFTranslationsConfig(datasets.BuilderConfig):
79
 
80
 
81
  class OpusRF(datasets.GeneratorBasedBuilder):
82
- """RF is a tiny parallel corpus of the Declarations of the Swedish Government and its translations. """
83
 
84
  BUILDER_CONFIGS = [
85
  OpusRFTranslationsConfig(
@@ -118,7 +118,7 @@ class OpusRF(datasets.GeneratorBasedBuilder):
118
  ]
119
 
120
  def _generate_examples(self, datapath):
121
- """ Yields examples. """
122
  l1, l2 = self.config.lang1, self.config.lang2
123
  folder = l1 + "-" + l2
124
  l1_file = _BASE_NAME.format(folder, l1)
 
79
 
80
 
81
  class OpusRF(datasets.GeneratorBasedBuilder):
82
+ """RF is a tiny parallel corpus of the Declarations of the Swedish Government and its translations."""
83
 
84
  BUILDER_CONFIGS = [
85
  OpusRFTranslationsConfig(
 
118
  ]
119
 
120
  def _generate_examples(self, datapath):
121
+ """Yields examples."""
122
  l1, l2 = self.config.lang1, self.config.lang2
123
  folder = l1 + "-" + l2
124
  l1_file = _BASE_NAME.format(folder, l1)