chore
Browse files- en-ja-align.py +1 -1
en-ja-align.py
CHANGED
@@ -169,7 +169,7 @@ class EnJaAlignDataset(ds.GeneratorBasedBuilder):
|
|
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.
|
173 |
"en": self._preprocess_en(text_en),
|
174 |
"ja": self._preprocess_ja(text_ja),
|
175 |
"source": path.name,
|
|
|
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),
|
174 |
"ja": self._preprocess_ja(text_ja),
|
175 |
"source": path.name,
|