chore
Browse files- en-ja-align.py +1 -0
en-ja-align.py
CHANGED
|
@@ -33,6 +33,7 @@ def preprocess(text: str):
|
|
| 33 |
text = re.sub(r"_(.+)_", "\\1", text)
|
| 34 |
text = re.sub(r" ``$", "''", text.strip())
|
| 35 |
text = re.sub(r"^――", "", text.strip())
|
|
|
|
| 36 |
return text.strip()
|
| 37 |
|
| 38 |
|
|
|
|
| 33 |
text = re.sub(r"_(.+)_", "\\1", text)
|
| 34 |
text = re.sub(r" ``$", "''", text.strip())
|
| 35 |
text = re.sub(r"^――", "", text.strip())
|
| 36 |
+
text = re.sub(r"^..第", "第", text.strip())
|
| 37 |
return text.strip()
|
| 38 |
|
| 39 |
|