MrPotato commited on
Commit
3398a76
·
1 Parent(s): bbb2d92

changed chunk generation

Browse files
Files changed (1) hide show
  1. ref_seg_ger.py +1 -0
ref_seg_ger.py CHANGED
@@ -217,6 +217,7 @@ class RefSeg(datasets.GeneratorBasedBuilder):
217
  for i, row in df.iterrows():
218
 
219
  #tokenized_input = row['token'].split(' ')
 
220
  tokenized_input, offsets = zip(*Whitespace(row['token']))
221
  print(tokenized_input)
222
  if f.endswith('Cermaine_0.xml.csv'):
 
217
  for i, row in df.iterrows():
218
 
219
  #tokenized_input = row['token'].split(' ')
220
+ print(Whitespace(row['token']))
221
  tokenized_input, offsets = zip(*Whitespace(row['token']))
222
  print(tokenized_input)
223
  if f.endswith('Cermaine_0.xml.csv'):