mpenagar commited on
Commit
d2b586f
1 Parent(s): d2818c9

ad all segments

Browse files
Files changed (1) hide show
  1. common_voice_11_0_eues.py +3 -2
common_voice_11_0_eues.py CHANGED
@@ -100,8 +100,9 @@ class CommonVoiceEUES(datasets.GeneratorBasedBuilder):
100
  index = ([0] * len(self.CV_EU[split])) + ([1] * len(self.CV_ES[split]))
101
  shuffle(index)
102
  it = ( iter(self.CV_EU[split]) , iter(self.CV_ES[split]) )
103
- print('\n************************ ELIMINAR [:2000] ***************')
104
- for key,lang in enumerate(index[:2000]) :
 
105
  feature = next(it[lang])
106
  feature['simplified_sentence'] = self._simplyfy(feature['sentence'])
107
  yield key,feature
 
100
  index = ([0] * len(self.CV_EU[split])) + ([1] * len(self.CV_ES[split]))
101
  shuffle(index)
102
  it = ( iter(self.CV_EU[split]) , iter(self.CV_ES[split]) )
103
+ #print('\n************************ ELIMINAR [:2000] ***************')
104
+ #for key,lang in enumerate(index[:2000]) :
105
+ for key,lang in enumerate(index) :
106
  feature = next(it[lang])
107
  feature['simplified_sentence'] = self._simplyfy(feature['sentence'])
108
  yield key,feature