Skip to content

Commit

Permalink
bata版本上傳:新增橫式轉直式功能
Browse files Browse the repository at this point in the history
  • Loading branch information
丁丁 authored and 丁丁 committed Nov 7, 2018
1 parent 53cfc39 commit bdbb87f
Show file tree
Hide file tree
Showing 29 changed files with 59,829 additions and 0 deletions.
8 changes: 8 additions & 0 deletions config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"//" : "mode:(簡轉繁)s2t,(繁轉簡)t2s",
"//" : "format:(直式)Straight,(橫式)Horizontal",
"mode" : "s2t",
"format": "Horizontal"
}


Binary file added epubconv1044.exe
Binary file not shown.
33 changes: 33 additions & 0 deletions opencc/config/hk2s.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"name": "Traditional Chinese (Hong Kong standard) to Simplified Chinese",
"segmentation": {
"type": "mmseg",
"dict": {
"type": "txt",
"file": "TSPhrases.txt"
}
},
"conversion_chain": [{
"dict": {
"type": "group",
"dicts": [{
"type": "txt",
"file": "HKVariantsRevPhrases.txt"
}, {
"type": "txt",
"file": "HKVariantsRev.txt"
}]
}
}, {
"dict": {
"type": "group",
"dicts": [{
"type": "txt",
"file": "TSPhrases.txt"
}, {
"type": "txt",
"file": "TSCharacters.txt"
}]
}
}]
}
33 changes: 33 additions & 0 deletions opencc/config/s2hk.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"name": "Simplified Chinese to Traditional Chinese (Hong Kong standard)",
"segmentation": {
"type": "mmseg",
"dict": {
"type": "txt",
"file": "STPhrases.txt"
}
},
"conversion_chain": [{
"dict": {
"type": "group",
"dicts": [{
"type": "txt",
"file": "STPhrases.txt"
}, {
"type": "txt",
"file": "STCharacters.txt"
}]
}
}, {
"dict": {
"type": "group",
"dicts": [{
"type": "txt",
"file": "HKVariantsPhrases.txt"
}, {
"type": "txt",
"file": "HKVariants.txt"
}]
}
}]
}
22 changes: 22 additions & 0 deletions opencc/config/s2t.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"name": "Simplified Chinese to Traditional Chinese",
"segmentation": {
"type": "mmseg",
"dict": {
"type": "txt",
"file": "STPhrases.txt"
}
},
"conversion_chain": [{
"dict": {
"type": "group",
"dicts": [{
"type": "txt",
"file": "STPhrases.txt"
}, {
"type": "txt",
"file": "STCharacters.txt"
}]
}
}]
}
27 changes: 27 additions & 0 deletions opencc/config/s2tw.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"name": "Simplified Chinese to Traditional Chinese (Taiwan standard)",
"segmentation": {
"type": "mmseg",
"dict": {
"type": "txt",
"file": "STPhrases.txt"
}
},
"conversion_chain": [{
"dict": {
"type": "group",
"dicts": [{
"type": "txt",
"file": "STPhrases.txt"
}, {
"type": "txt",
"file": "STCharacters.txt"
}]
}
}, {
"dict": {
"type": "txt",
"file": "TWVariants.txt"
}
}]
}
32 changes: 32 additions & 0 deletions opencc/config/s2twp.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"name": "Simplified Chinese to Traditional Chinese (Taiwan standard, with phrases)",
"segmentation": {
"type": "mmseg",
"dict": {
"type": "txt",
"file": "STPhrases.txt"
}
},
"conversion_chain": [{
"dict": {
"type": "group",
"dicts": [{
"type": "txt",
"file": "STPhrases.txt"
}, {
"type": "txt",
"file": "STCharacters.txt"
}]
}
}, {
"dict": {
"type": "txt",
"file": "TWPhrases.txt"
}
}, {
"dict": {
"type": "txt",
"file": "TWVariants.txt"
}
}]
}
16 changes: 16 additions & 0 deletions opencc/config/t2hk.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "Traditional Chinese to Traditional Chinese (Hong Kong standard)",
"segmentation": {
"type": "mmseg",
"dict": {
"type": "txt",
"file": "HKVariants.txt"
}
},
"conversion_chain": [{
"dict": {
"type": "txt",
"file": "HKVariants.txt"
}
}]
}
22 changes: 22 additions & 0 deletions opencc/config/t2s.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"name": "Traditional Chinese to Simplified Chinese",
"segmentation": {
"type": "mmseg",
"dict": {
"type": "txt",
"file": "TSPhrases.txt"
}
},
"conversion_chain": [{
"dict": {
"type": "group",
"dicts": [{
"type": "txt",
"file": "TSPhrases.txt"
}, {
"type": "txt",
"file": "TSCharacters.txt"
}]
}
}]
}
16 changes: 16 additions & 0 deletions opencc/config/t2tw.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "Traditional Chinese to Traditional Chinese (Taiwan standard)",
"segmentation": {
"type": "mmseg",
"dict": {
"type": "txt",
"file": "TWVariants.txt"
}
},
"conversion_chain": [{
"dict": {
"type": "txt",
"file": "TWVariants.txt"
}
}]
}
33 changes: 33 additions & 0 deletions opencc/config/tw2s.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"name": "Traditional Chinese (Taiwan standard) to Simplified Chinese",
"segmentation": {
"type": "mmseg",
"dict": {
"type": "txt",
"file": "TSPhrases.txt"
}
},
"conversion_chain": [{
"dict": {
"type": "group",
"dicts": [{
"type": "txt",
"file": "TWVariantsRevPhrases.txt"
}, {
"type": "txt",
"file": "TWVariantsRev.txt"
}]
}
}, {
"dict": {
"type": "group",
"dicts": [{
"type": "txt",
"file": "TSPhrases.txt"
}, {
"type": "txt",
"file": "TSCharacters.txt"
}]
}
}]
}
38 changes: 38 additions & 0 deletions opencc/config/tw2sp.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"name": "Traditional Chinese (Taiwan standard) to Simplified Chinese (with phrases)",
"segmentation": {
"type": "mmseg",
"dict": {
"type": "txt",
"file": "TSPhrases.txt"
}
},
"conversion_chain": [{
"dict": {
"type": "group",
"dicts": [{
"type": "txt",
"file": "TWVariantsRevPhrases.txt"
}, {
"type": "txt",
"file": "TWVariantsRev.txt"
}]
}
}, {
"dict": {
"type": "txt",
"file": "TWPhrasesRev.txt"
}
}, {
"dict": {
"type": "group",
"dicts": [{
"type": "txt",
"file": "TSPhrases.txt"
}, {
"type": "txt",
"file": "TSCharacters.txt"
}]
}
}]
}
70 changes: 70 additions & 0 deletions opencc/dictionary/HKVariants.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
僞 偽
兌 兑
冑 胄
冗 宂
勳 勛
叄 叁
啓 啟
嘆 歎
囪 囱
妝 粧
媼 媪
嫋 裊
嫺 嫻
嬀 媯
岩 巖
悅 悦
慍 愠
戶 户
挩 捝
搵 揾
擡 抬
敓 敚
敘 敍
柺 枴
梲 棁
棱 稜
榲 榅
檯 枱
氳 氲
涌 湧
涗 涚
溫 温
溼 濕
潙 溈
潨 潀
熅 煴
爲 為
痹 痺
癡 痴
皁 皂
稅 税
竈 灶
糉 粽
縕 緼
繮 韁
纔 才
脫 脱
膃 腽
臥 卧
臺 台
菸 煙
蒕 蒀
蔥 葱
蔿 蒍
蘊 藴
蛻 蜕
衆 眾
衛 衞
覈 核
說 説
贗 贋
踊 踴
轀 輼
醞 醖
鉢 缽
鉤 鈎
銳 鋭
閱 閲
鰮 鰛
鱉 鼈
17 changes: 17 additions & 0 deletions opencc/dictionary/HKVariantsPhrases.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
南涌 南涌
大欖涌 大欖涌
大涌 大涌
東涌 東涌
沙河涌 沙河涌
沙魚涌 沙魚涌
河涌 河涌
泥涌 泥涌
涌尾 涌尾
深涌 深涌
溪涌 溪涌
葵涌 葵涌
蠔涌 蠔涌
西涌 西涌
鰂魚涌 鰂魚涌
麻涌 麻涌
黎涌 黎涌
Loading

0 comments on commit bdbb87f

Please sign in to comment.