fix: 修复x一x类型分词合并时可能出现的吞字问题; (#1362)

This commit is contained in:
undefined 2024-07-30 10:38:33 +08:00 committed by GitHub
parent 668631e752
commit 7c43b41e6d
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 - 2][0] == word
and pos == "v"
and seg[i - 2][1] == "v"
):
continue
else: