Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions data/dictionary/STPhrases.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28052,6 +28052,12 @@
昭苏县 昭蘇縣
是个 是個
是只 是隻
是只好 是只好
是只得 是只得
是只怕 是只怕
是只有 是只有
是只能 是只能
是只要 是只要
是念 是念
是罐子也有两个耳朵 是罐子也有兩個耳朵
是非只为多开口 是非只爲多開口
Expand Down
30 changes: 30 additions & 0 deletions test/testcases/testcases.json
Original file line number Diff line number Diff line change
Expand Up @@ -1825,6 +1825,36 @@
"tw2sp": "干红",
"hk2sp": "干红"
}
},
{
"id": "BYVoid_OpenCC_Issue_1304_shi_zhiyou",
"input": "这是只有一种可能",
"expected": {
"s2t": "這是只有一種可能",
"s2tw": "這是只有一種可能",
"s2twp": "這是只有一種可能",
"s2hk": "這是只有一種可能"
}
},
{
"id": "BYVoid_OpenCC_Issue_1304_shi_zhi_measure",
"input": "是只猫 是一只鸟",
"expected": {
"s2t": "是隻貓 是一隻鳥",
"s2tw": "是隻貓 是一隻鳥",
"s2twp": "是隻貓 是一隻鳥",
"s2hk": "是隻貓 是一隻鳥"
}
},
{
"id": "BYVoid_OpenCC_Issue_1304_shi_zhi_siblings",
"input": "是只要 是只能 是只好 是只得 是只怕",
"expected": {
"s2t": "是只要 是只能 是只好 是只得 是只怕",
"s2tw": "是只要 是只能 是只好 是只得 是只怕",
"s2twp": "是只要 是只能 是只好 是只得 是只怕",
"s2hk": "是只要 是只能 是只好 是只得 是只怕"
}
}
]
}
Loading