chore
Browse files- en-ja-align.py +5 -0
en-ja-align.py
CHANGED
|
@@ -71,6 +71,11 @@ def parse_html_table(path: Path):
|
|
| 71 |
|
| 72 |
cur_left_quote += len(list(re.findall(r"``", text_en)))
|
| 73 |
cur_right_quote += len(list(re.findall(r"''", text_en)))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 74 |
|
| 75 |
cur_left_parens_ja += text_ja.count("「")
|
| 76 |
cur_right_parens_ja += text_ja.count("」")
|
|
|
|
| 71 |
|
| 72 |
cur_left_quote += len(list(re.findall(r"``", text_en)))
|
| 73 |
cur_right_quote += len(list(re.findall(r"''", text_en)))
|
| 74 |
+
# cur_right_quote += max(
|
| 75 |
+
# len(list(re.findall(r"''", text_en)))
|
| 76 |
+
# - len(list(re.findall(r"'''", text_en))),
|
| 77 |
+
# 0,
|
| 78 |
+
# )
|
| 79 |
|
| 80 |
cur_left_parens_ja += text_ja.count("「")
|
| 81 |
cur_right_parens_ja += text_ja.count("」")
|