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
1 change: 1 addition & 0 deletions data/dictionary/TWPhrasesOther.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,4 @@
鐦 鉲
鑥 鎦
黃宏 黃宏
英偉達 輝達
22 changes: 21 additions & 1 deletion test/testcases/testcases.json
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,26 @@
"tw2sp": "写一个解算器程序来解决方程式",
"t2s": "写一个解算器程式来解决方程式"
}
},
{
"id": "nVidia_naming_s2t",
"input": "英伟达",
"expected": {
"s2twp": "輝達",
"s2t": "英偉達",
"s2tw": "英偉達",
"s2hk": "英偉達"
}
},
{
"id": "nVidia_naming_t2s",
"input": "輝達",
"expected": {
"tw2sp": "英伟达",
"t2s": "辉达",
"tw2s": "辉达",
"hk2s": "辉达"
}
}
]
}
}
Loading