Skip to content
Merged
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
12 changes: 8 additions & 4 deletions data/dictionary/STPhrases.txt
Original file line number Diff line number Diff line change
Expand Up @@ -285,15 +285,16 @@ SQL注入攻击 SQL注入攻擊
一龙生九种种种各别 一龍生九種種種各別
丁一确二 丁一確二
丁丁冬冬 丁丁冬冬
丁丁当当 丁丁噹噹
丁丁当 丁丁當
丁丁当当 丁丁當當
丁丑 丁丑
丁伯升 丁伯升
丁克 丁克
丁冬 丁冬
丁固生松 丁固生松
丁娘十索 丁娘十索
丁字梁 丁字梁
丁当 丁噹
丁当 丁當 丁噹
丁柏升 丁柏升
丁种 丁種
丁种维生素 丁種維生素
Expand Down Expand Up @@ -12118,6 +12119,7 @@ SQL注入攻击 SQL注入攻擊
召回 召回
召幸 召幸
叮人战术 叮人戰術
叮叮当 叮叮噹
叮叮当当 叮叮噹噹
叮叮当当的婆娘 叮叮噹噹的婆娘
叮当 叮噹
Comment thread
danny0838 marked this conversation as resolved.
Expand Down Expand Up @@ -13176,7 +13178,7 @@ SQL注入攻击 SQL注入攻擊
合髻 合髻
合龙 合龍
合龙门 合龍門
吉丁当 吉丁噹
吉丁当 吉丁當
吉伯特氏症候群 吉伯特氏症候羣
吉凶 吉凶
吉凶庆吊 吉凶慶弔
Expand Down Expand Up @@ -21947,7 +21949,7 @@ SQL注入攻击 SQL注入攻擊
当归 當歸
当归鸭 當歸鴨
当当 噹噹
当当丁丁 噹噹丁丁
当当丁丁 當當丁丁
当当当 噹噹噹
当当船 噹噹船
当当车 噹噹車
Expand Down Expand Up @@ -31037,6 +31039,7 @@ SQL注入攻击 SQL注入攻擊
歌坛上 歌壇上
歌坛新秀 歌壇新秀
歌声绕梁 歌聲繞梁
歌手丁当 歌手丁噹
歌曲 歌曲
歌板 歌板
歌舞升平 歌舞昇平
Expand Down Expand Up @@ -38406,6 +38409,7 @@ SQL注入攻击 SQL注入攻擊
绑回去 綁回去
绑回来 綁回來
绑扎 綁紮
绑架丁丁当 綁架丁丁當
绒布 絨布
结了 結了
结仇 結仇
Expand Down
4 changes: 4 additions & 0 deletions data/dictionary/TWPhrases.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ PN結 PN接面
SQL注入 SQL隱碼攻擊
SQL注入攻擊 SQL隱碼攻擊
U盤 隨身碟
丁丁當 叮叮噹
丁丁當當 叮叮噹噹
丁當 叮噹
三極管 三極體
下拉列表 下拉式清單
並行計算 平行計算
Expand Down Expand Up @@ -450,6 +453,7 @@ U盤 隨身碟
索馬里 索馬利亞
組件 元件
綁定 繫結
綁架丁丁當 綁架丁丁當
維瓦爾第 韋瓦第
網上鄰居 網路上的芳鄰
網卡 網絡卡
Expand Down
4 changes: 4 additions & 0 deletions data/dictionary/TWPhrasesRev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ SQL隱碼攻擊 SQL注入 SQL注入攻擊
取樣 採樣
取樣率 採樣率
叢集 集羣
叮叮噹 丁丁當
叮叮噹噹 丁丁當當
叮噹 丁當
史克里亞賓 斯克里亞賓
史卡拉第 斯卡拉蒂
史托克豪森 施托克豪森
Expand Down Expand Up @@ -417,6 +420,7 @@ SQL隱碼攻擊 SQL注入 SQL注入攻擊
組譯 彙編
組譯器 彙編器
結束通話 掛斷
綁架丁丁當 綁架丁丁當
維德角 佛得角
網咖 網吧
網絡卡 網卡
Expand Down
15 changes: 15 additions & 0 deletions test/testcases/testcases.json
Original file line number Diff line number Diff line change
Expand Up @@ -530,6 +530,21 @@
"t2s": "想像 想像力 富于想像 想像水一样"
}
},
{
"id": "BYVoid_OpenCC_PR_1036_s2x",
"input": "丁当 歌手丁当 丁丁当当 当当丁丁 绑架丁丁当;叮当 叮叮当 叮叮当当",
"expected": {
"s2t": "丁當 歌手丁噹 丁丁當當 當當丁丁 綁架丁丁當;叮噹 叮叮噹 叮叮噹噹",
"s2twp": "叮噹 歌手丁噹 叮叮噹噹 當當丁丁 綁架丁丁當;叮噹 叮叮噹 叮叮噹噹"
}
},
{
"id": "BYVoid_OpenCC_PR_1036_t2s",
"input": "叮噹 歌手丁噹 叮叮噹 叮叮噹噹 當當丁丁 綁架丁丁當",
"expected": {
"tw2sp": "丁当 歌手丁当 丁丁当 丁丁当当 当当丁丁 绑架丁丁当"
}
},
{
"id": "BYVoid_OpenCC_Issue_988",
"input": "上下数千年,纵横几万里",
Expand Down
Loading