Skip to content

Commit aca33bf

Browse files
committed
Document dictionary usage in headers
Add standardized headers listing the official config usage for each top-level dictionary file.
1 parent 86e1087 commit aca33bf

13 files changed

+91
-0
lines changed

data/dictionary/HKVariants.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# Open Chinese Convert (OpenCC) Dictionary
2+
# File: HKVariants.txt
3+
# Format: key value(s) (values separated by spaces)
4+
# License: Apache-2.0 (see LICENSE)
5+
# Source: https://github.com/ByVoid/OpenCC
6+
# Used in configs: s2hk.json, t2hk.json
7+
18
僞 偽
29
兌 兑
310
叄 叁

data/dictionary/HKVariantsRevPhrases.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# Open Chinese Convert (OpenCC) Dictionary
2+
# File: HKVariantsRevPhrases.txt
3+
# Format: key value(s) (values separated by spaces)
4+
# License: Apache-2.0 (see LICENSE)
5+
# Source: https://github.com/ByVoid/OpenCC
6+
# Used in configs: hk2s.json, hk2t.json
7+
18
一口吃個 一口喫個
29
一口吃成 一口喫成
310
一家三口 一家三口

data/dictionary/JPShinjitaiCharacters.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# Open Chinese Convert (OpenCC) Dictionary
2+
# File: JPShinjitaiCharacters.txt
3+
# Format: key value(s) (values separated by spaces)
4+
# License: Apache-2.0 (see LICENSE)
5+
# Source: https://github.com/ByVoid/OpenCC
6+
# Used in configs: jp2t.json
7+
18
両 兩 輛
29
弁 辨 辯 瓣 辦 弁
310
御 御 禦

data/dictionary/JPShinjitaiPhrases.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# Open Chinese Convert (OpenCC) Dictionary
2+
# File: JPShinjitaiPhrases.txt
3+
# Format: key value(s) (values separated by spaces)
4+
# License: Apache-2.0 (see LICENSE)
5+
# Source: https://github.com/ByVoid/OpenCC
6+
# Used in configs: jp2t.json
7+
18
一獲千金 一攫千金
29
丁寧 叮嚀
310
丁重 鄭重

data/dictionary/JPVariants.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# Open Chinese Convert (OpenCC) Dictionary
2+
# File: JPVariants.txt
3+
# Format: key value(s) (values separated by spaces)
4+
# License: Apache-2.0 (see LICENSE)
5+
# Source: https://github.com/ByVoid/OpenCC
6+
# Used in configs: t2jp.json
7+
18
乘 乗
29
亂 乱
310
亙 亘

data/dictionary/STCharacters.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# Open Chinese Convert (OpenCC) Dictionary
2+
# File: STCharacters.txt
3+
# Format: key value(s) (values separated by spaces)
4+
# License: Apache-2.0 (see LICENSE)
5+
# Source: https://github.com/ByVoid/OpenCC
6+
# Used in configs: s2hk.json, s2t.json, s2tw.json, s2twp.json
7+
18
㐷 傌
29
㐹 㑶 㐹
310
㐽 偑

data/dictionary/STPhrases.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# Open Chinese Convert (OpenCC) Dictionary
2+
# File: STPhrases.txt
3+
# Format: key value(s) (values separated by spaces)
4+
# License: Apache-2.0 (see LICENSE)
5+
# Source: https://github.com/ByVoid/OpenCC
6+
# Used in configs: s2hk.json, s2t.json, s2tw.json, s2twp.json
7+
18
㓦划 㓦劃
29
一丝不挂 一絲不掛
310
一了心愿 一了心願

data/dictionary/TSCharacters.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# Open Chinese Convert (OpenCC) Dictionary
2+
# File: TSCharacters.txt
3+
# Format: key value(s) (values separated by spaces)
4+
# License: Apache-2.0 (see LICENSE)
5+
# Source: https://github.com/ByVoid/OpenCC
6+
# Used in configs: hk2s.json, t2s.json, tw2s.json, tw2sp.json
7+
18
㑮 𫝈
29
㑯 㑔
310
㑳 㑇

data/dictionary/TSPhrases.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# Open Chinese Convert (OpenCC) Dictionary
2+
# File: TSPhrases.txt
3+
# Format: key value(s) (values separated by spaces)
4+
# License: Apache-2.0 (see LICENSE)
5+
# Source: https://github.com/ByVoid/OpenCC
6+
# Used in configs: hk2s.json, t2s.json, tw2s.json, tw2sp.json
7+
18
一目瞭然 一目了然
29
上鍊 上链
310
不瞭解 不了解

data/dictionary/TWPhrases.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# Open Chinese Convert (OpenCC) Dictionary
2+
# File: TWPhrases.txt
3+
# Format: key value(s) (values separated by spaces)
4+
# License: Apache-2.0 (see LICENSE)
5+
# Source: https://github.com/ByVoid/OpenCC
6+
# Used in configs: s2twp.json (via TWPhrases.ocd2)
7+
18
PN結 PN接面
29
SQL注入 SQL隱碼攻擊
310
SQL注入攻擊 SQL隱碼攻擊

0 commit comments

Comments
 (0)