hpprc commited on
Commit
7e9d748
1 Parent(s): df7d875

Update en-ja-align.py

Browse files
Files changed (1) hide show
  1. en-ja-align.py +1 -1
en-ja-align.py CHANGED
@@ -167,7 +167,7 @@ class EnJaAlignDataset(ds.GeneratorBasedBuilder):
167
  for path in paths:
168
  idx = 0
169
  texts_en, texts_ja = parse_html_table(path)
170
- for text_en, text_ja in zip(texts_en, texts_ja, strict=True):
171
  row = {
172
  "id": f"{path.stem}/{idx}",
173
  "en": self._preprocess_en(text_en),
 
167
  for path in paths:
168
  idx = 0
169
  texts_en, texts_ja = parse_html_table(path)
170
+ for text_en, text_ja in zip(texts_en, texts_ja):
171
  row = {
172
  "id": f"{path.stem}/{idx}",
173
  "en": self._preprocess_en(text_en),