diff --git a/data/dictionary/STCharacters.txt b/data/dictionary/STCharacters.txt index 8ca05f317..396ff7790 100644 --- a/data/dictionary/STCharacters.txt +++ b/data/dictionary/STCharacters.txt @@ -268,7 +268,7 @@ 冢 冢 塚 冬 冬 鼕 冯 馮 -冲 衝 沖 +冲 沖 衝 决 決 况 況 冻 凍 diff --git a/test/testcases/testcases.json b/test/testcases/testcases.json index 95a95e0b7..4efe71dd0 100755 --- a/test/testcases/testcases.json +++ b/test/testcases/testcases.json @@ -1825,6 +1825,16 @@ "tw2sp": "干红", "hk2sp": "干红" } + }, + { + "id": "BYVoid_OpenCC_Issue_984_chong_variant_priority", + "input": "冲咖啡、冲洗、冲水,再用清水一冲就能清除了。冲突、冲动、冲锋、缓冲、兴冲冲", + "expected": { + "s2t": "沖咖啡、沖洗、沖水,再用清水一衝就能清除了。衝突、衝動、衝鋒、緩衝、興沖沖", + "s2tw": "沖咖啡、沖洗、沖水,再用清水一衝就能清除了。衝突、衝動、衝鋒、緩衝、興沖沖", + "s2twp": "沖咖啡、沖洗、沖水,再用清水一衝就能清除了。衝突、衝動、衝鋒、緩衝、興沖沖", + "s2hk": "沖咖啡、沖洗、沖水,再用清水一衝就能清除了。衝突、衝動、衝鋒、緩衝、興沖沖" + } } ] }