Skip to content

Commit

Permalink
Remove standard: Hong Kong Chinese Lexical Lists for Primary Learning
Browse files Browse the repository at this point in the history
  • Loading branch information
sgalal authored and BYVoid committed May 28, 2020
1 parent 128c43d commit 21b1979
Show file tree
Hide file tree
Showing 18 changed files with 11 additions and 219 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -3,6 +3,7 @@
.project
.cproject
/.vscode
/.mypy_cache
/build
/other
/doc/html
Expand Down
15 changes: 4 additions & 11 deletions README.md
Expand Up @@ -105,24 +105,17 @@ Document 文檔: https://byvoid.github.io/OpenCC/
* `t2s.json` Traditional Chinese to Simplified Chinese 繁體到簡體
* `s2tw.json` Simplified Chinese to Traditional Chinese (Taiwan Standard) 簡體到臺灣正體
* `tw2s.json` Traditional Chinese (Taiwan Standard) to Simplified Chinese 臺灣正體到簡體
* `s2hk.json` Simplified Chinese to Traditional Chinese (Hong Kong variant) 簡體到香港繁體(香港用字)
* `hk2s.json` Traditional Chinese (Hong Kong variant) to Simplified Chinese 香港繁體(香港用字)到簡體
* `s2hk.json` Simplified Chinese to Traditional Chinese (Hong Kong variant) 簡體到香港繁體
* `hk2s.json` Traditional Chinese (Hong Kong variant) to Simplified Chinese 香港繁體到簡體
* `s2twp.json` Simplified Chinese to Traditional Chinese (Taiwan Standard) with Taiwanese idiom 簡體到繁體(臺灣正體標準)並轉換爲臺灣常用詞彙
* `tw2sp.json` Traditional Chinese (Taiwan Standard) to Simplified Chinese with Mainland Chinese idiom 繁體(臺灣正體標準)到簡體並轉換爲中國大陸常用詞彙
* `t2tw.json` Traditional Chinese (OpenCC Standard) to Taiwan Standard 繁體(OpenCC 標準)到臺灣正體
* `hk2t.json` Traditional Chinese (Hong Kong variant) to Traditional Chinese 香港繁體(香港用字)到繁體(OpenCC 標準)
* `t2hk.json` Traditional Chinese (OpenCC Standard) to Hong Kong variant 繁體(OpenCC 標準)到香港繁體(香港用字)
* `hk2t.json` Traditional Chinese (Hong Kong variant) to Traditional Chinese 香港繁體到繁體(OpenCC 標準)
* `t2hk.json` Traditional Chinese (OpenCC Standard) to Hong Kong variant 繁體(OpenCC 標準)到香港繁體
* `t2jp.json` Traditional Chinese Characters (Kyūjitai) to New Japanese Kanji (Shinjitai) 繁體(OpenCC 標準,舊字體)到日文新字體
* `jp2t.json` New Japanese Kanji (Shinjitai) to Traditional Chinese Characters (Kyūjitai) 日文新字體到繁體(OpenCC 標準,舊字體)
* `tw2t.json` Traditional Chinese (Taiwan standard) to Traditional Chinese 臺灣正體到繁體(OpenCC 標準)

The following configuration files are not recommended 以下配置文件不推薦使用:

* `s2hks.json` Simplified Chinese to Traditional Chinese (Hong Kong Standard) 簡體到香港繁體(香港小學學習字詞表標準)
* `hks2s.json` Traditional Chinese (Hong Kong Standard) to Simplified Chinese 香港繁體(香港小學學習字詞表標準)到簡體
* `t2hks.json` Traditional Chinese (OpenCC Standard) to Hong Kong Standard 繁體(OpenCC 標準)到香港繁體(香港小學學習字詞表標準)
* `hks2t.json` Traditional Chinese (Hong Kong standard) to Traditional Chinese 香港繁體(香港小學學習字詞表標準)到繁體(OpenCC 標準)

## Build 編譯

### Build with CMake
Expand Down
4 changes: 0 additions & 4 deletions data/CMakeLists.txt
Expand Up @@ -163,16 +163,12 @@ endforeach(DICT)
set(CONFIG_FILES
config/hk2s.json
config/hk2t.json
config/hks2s.json
config/hks2t.json
config/jp2t.json
config/s2hk.json
config/s2hks.json
config/s2t.json
config/s2tw.json
config/s2twp.json
config/t2hk.json
config/t2hks.json
config/t2jp.json
config/t2s.json
config/t2tw.json
Expand Down
33 changes: 0 additions & 33 deletions data/config/hks2s.json

This file was deleted.

22 changes: 0 additions & 22 deletions data/config/hks2t.json

This file was deleted.

27 changes: 0 additions & 27 deletions data/config/s2hks.json

This file was deleted.

16 changes: 0 additions & 16 deletions data/config/t2hks.json

This file was deleted.

74 changes: 0 additions & 74 deletions data/dictionary/HKStandardVariants.txt

This file was deleted.

4 changes: 0 additions & 4 deletions node/configs.gypi
Expand Up @@ -7,16 +7,12 @@
"files": [
"../data/config/hk2s.json",
"../data/config/hk2t.json",
"../data/config/hks2s.json",
"../data/config/hks2t.json",
"../data/config/jp2t.json",
"../data/config/s2hk.json",
"../data/config/s2hks.json",
"../data/config/s2t.json",
"../data/config/s2tw.json",
"../data/config/s2twp.json",
"../data/config/t2hk.json",
"../data/config/t2hks.json",
"../data/config/t2jp.json",
"../data/config/t2s.json",
"../data/config/t2tw.json",
Expand Down
4 changes: 0 additions & 4 deletions node/test.js
Expand Up @@ -7,16 +7,12 @@ const OpenCC = require('./opencc');
const configs = [
'hk2s',
'hk2t',
'hks2s',
'hks2t',
'jp2t',
's2hk',
's2hks',
's2t',
's2tw',
's2twp',
't2hk',
't2hks',
't2jp',
't2s',
'tw2s',
Expand Down
4 changes: 0 additions & 4 deletions src/benchmark/Performance.cpp
Expand Up @@ -46,16 +46,12 @@ static void BM_Initialization(benchmark::State& state,
}
BENCHMARK_CAPTURE(BM_Initialization, hk2s, "hk2s");
BENCHMARK_CAPTURE(BM_Initialization, hk2t, "hk2t");
BENCHMARK_CAPTURE(BM_Initialization, hks2s, "hks2s");
BENCHMARK_CAPTURE(BM_Initialization, hks2t, "hks2t");
BENCHMARK_CAPTURE(BM_Initialization, jp2t, "jp2t");
BENCHMARK_CAPTURE(BM_Initialization, s2hk, "s2hk");
BENCHMARK_CAPTURE(BM_Initialization, s2hks, "s2hks");
BENCHMARK_CAPTURE(BM_Initialization, s2t, "s2t");
BENCHMARK_CAPTURE(BM_Initialization, s2tw, "s2tw");
BENCHMARK_CAPTURE(BM_Initialization, s2twp, "s2twp");
BENCHMARK_CAPTURE(BM_Initialization, t2hk, "t2hk");
BENCHMARK_CAPTURE(BM_Initialization, t2hks, "t2hks");
BENCHMARK_CAPTURE(BM_Initialization, t2jp, "t2jp");
BENCHMARK_CAPTURE(BM_Initialization, t2s, "t2s");
BENCHMARK_CAPTURE(BM_Initialization, tw2s, "tw2s");
Expand Down
8 changes: 4 additions & 4 deletions test/CommandLineConvertTest.cpp
Expand Up @@ -105,9 +105,9 @@ TEST_P(ConfigurationTest, Convert) {
}

INSTANTIATE_TEST_CASE_P(CommandLine, ConfigurationTest,
::testing::Values("hk2s", "hk2t", "hks2s", "hks2t", "jp2t",
"s2hk", "s2hks", "s2t", "s2tw", "s2twp",
"t2hk", "t2hks", "t2jp", "t2s", "tw2s",
"tw2sp", "tw2t"));
::testing::Values("hk2s", "hk2t", "jp2t", "s2hk",
"s2t", "s2tw", "s2twp", "t2hk",
"t2jp", "t2s", "tw2s", "tw2sp",
"tw2t"));

} // namespace opencc
3 changes: 1 addition & 2 deletions test/testcases/hk2s.ans
@@ -1,4 +1,3 @@
虚伪叹息
潮湿灶台
沙河涌汹涌的波浪
不转换吿
赞叹沙河涌汹涌的波浪
3 changes: 1 addition & 2 deletions test/testcases/hk2s.in
@@ -1,4 +1,3 @@
虛偽歎息
潮濕灶台
沙河涌洶湧的波浪
不轉換吿
讚歎沙河涌洶湧的波浪
4 changes: 0 additions & 4 deletions test/testcases/hks2s.ans

This file was deleted.

4 changes: 0 additions & 4 deletions test/testcases/hks2s.in

This file was deleted.

2 changes: 0 additions & 2 deletions test/testcases/hks2t.ans

This file was deleted.

2 changes: 0 additions & 2 deletions test/testcases/hks2t.in

This file was deleted.

0 comments on commit 21b1979

Please sign in to comment.