hpprc commited on
Commit
3bc3620
·
1 Parent(s): ba2ec58
Files changed (1) hide show
  1. 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