Fix merge yi (#1504)

This commit is contained in:
KamioRinn 2024-08-20 11:47:31 +08:00 committed by GitHub
parent 6ca4aecea2
commit 9c75f35ece
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -681,6 +681,7 @@ class ToneSandhi:
and seg[i - 1][0] == "" and seg[i - 1][0] == ""
and seg[i - 2][0] == word and seg[i - 2][0] == word
and pos == "v" and pos == "v"
and seg[i - 2][1] == "v"
): ):
continue continue
else: else: