Skip to content
Open
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 @@ -275,15 +275,16 @@
一龙生九种种种各别 一龍生九種種種各別
丁一确二 丁一確二
丁丁冬冬 丁丁冬冬
丁丁当当 丁丁噹噹
丁丁当 丁丁當
丁丁当当 丁丁當當
丁丑 丁丑
丁伯升 丁伯升
丁克 丁克
丁冬 丁冬
丁固生松 丁固生松
丁娘十索 丁娘十索
丁字梁 丁字梁
丁当 丁噹
丁当 丁當 丁噹
丁柏升 丁柏升
丁种 丁種
丁种维生素 丁種維生素
Expand Down Expand Up @@ -12125,6 +12126,7 @@
召回 召回
召幸 召幸
叮人战术 叮人戰術
叮叮当 叮叮噹
叮叮当当 叮叮噹噹
叮叮当当的婆娘 叮叮噹噹的婆娘
叮当 叮噹
Expand Down Expand Up @@ -13184,7 +13186,7 @@
合髻 合髻
合龙 合龍
合龙门 合龍門
吉丁当 吉丁噹
吉丁当 吉丁當
吉伯特氏症候群 吉伯特氏症候羣
吉凶 吉凶
吉凶庆吊 吉凶慶弔
Expand Down Expand Up @@ -21962,7 +21964,7 @@
当归 當歸
当归鸭 當歸鴨
当当 噹噹
当当丁丁 噹噹丁丁
当当丁丁 當當丁丁
当当当 噹噹噹
当当船 噹噹船
当当车 噹噹車
Expand Down Expand Up @@ -31041,6 +31043,7 @@
歌坛上 歌壇上
歌坛新秀 歌壇新秀
歌声绕梁 歌聲繞梁
歌手丁当 歌手丁噹
歌曲 歌曲
歌板 歌板
歌舞升平 歌舞昇平
Expand Down Expand Up @@ -38426,6 +38429,7 @@
绑回去 綁回去
绑回来 綁回來
绑扎 綁紮
绑架丁丁当 綁架丁丁當
绒布 絨布
结了 結了
结仇 結仇
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 @@ -366,6 +369,7 @@ U盤 隨身碟
索馬里 索馬利亞
組件 元件
綁定 繫結
綁架丁丁當 綁架丁丁當
網上鄰居 網路上的芳鄰
網卡 網絡卡
網吧 網咖
Expand Down
3 changes: 3 additions & 0 deletions data/dictionary/TWPhrasesRev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ SQL隱碼攻擊 SQL注入 SQL注入攻擊
取樣 採樣
取樣率 採樣率
叢集 集羣
叮叮噹 丁丁當
叮叮噹噹 丁丁當當
叮噹 丁當
史瓦濟蘭 斯威士蘭
吉布地 吉布堤
吉里巴斯 基里巴斯
Expand Down
20 changes: 20 additions & 0 deletions test/testcases/testcases.json
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,26 @@
"tw2s": "社群 索罗门群岛 核取方块 核取按钮",
"t2s": "社群 索罗门群岛 核取方块 核取按钮"
}
},
{
"input": "丁当 歌手丁当 丁丁当当 当当丁丁 绑架丁丁当",
"expected": {
"s2t": "丁當 歌手丁噹 丁丁當當 當當丁丁 綁架丁丁當",
"s2twp": "叮噹 歌手丁噹 叮叮噹噹 當當丁丁 綁架丁丁當"
}
},
{
"input": "叮当 叮叮当 叮叮当当",
"expected": {
"s2t": "叮噹 叮叮噹 叮叮噹噹",
"s2twp": "叮噹 叮叮噹 叮叮噹噹"
}
},
{
"input": "叮噹 歌手丁噹 叮叮噹 叮叮噹噹 當當丁丁 綁架丁丁當",
"expected": {
"tw2sp": "丁当 歌手丁当 丁丁当 丁丁当当 当当丁丁 绑架丁丁当"
}
}
]
}
Loading