From 6f1a92bb73349779abe3567f6aa36ab2eee3326e Mon Sep 17 00:00:00 2001 From: Yifan Liu Date: Wed, 22 Feb 2023 18:30:15 -0600 Subject: [PATCH] fix: move json to JP folder --- .../global/YoStarJP/resource/ocr_config.json | 76 +++++++++++++++++++ resource/ocr_config.json | 75 +----------------- 2 files changed, 77 insertions(+), 74 deletions(-) create mode 100644 resource/global/YoStarJP/resource/ocr_config.json diff --git a/resource/global/YoStarJP/resource/ocr_config.json b/resource/global/YoStarJP/resource/ocr_config.json new file mode 100644 index 0000000000..04bfe0c4fb --- /dev/null +++ b/resource/global/YoStarJP/resource/ocr_config.json @@ -0,0 +1,76 @@ +{ + "equivalence_classes": [ + [ + "あ", + "ぁ" + ], + [ + "い", + "ぃ" + ], + [ + "う", + "ぅ" + ], + [ + "え", + "ぇ" + ], + [ + "お", + "ぉ" + ], + [ + "つ", + "っ" + ], + [ + "や", + "ゃ" + ], + [ + "ゆ", + "ゅ" + ], + [ + "よ", + "ょ" + ], + [ + "ア", + "ァ" + ], + [ + "イ", + "ィ" + ], + [ + "ウ", + "ゥ" + ], + [ + "エ", + "ェ" + ], + [ + "オ", + "ォ" + ], + [ + "ツ", + "ッ" + ], + [ + "ヤ", + "ャ" + ], + [ + "ユ", + "ュ" + ], + [ + "ヨ", + "ョ" + ] + ] +} \ No newline at end of file diff --git a/resource/ocr_config.json b/resource/ocr_config.json index 04bfe0c4fb..adcdd47982 100644 --- a/resource/ocr_config.json +++ b/resource/ocr_config.json @@ -1,76 +1,3 @@ { - "equivalence_classes": [ - [ - "あ", - "ぁ" - ], - [ - "い", - "ぃ" - ], - [ - "う", - "ぅ" - ], - [ - "え", - "ぇ" - ], - [ - "お", - "ぉ" - ], - [ - "つ", - "っ" - ], - [ - "や", - "ゃ" - ], - [ - "ゆ", - "ゅ" - ], - [ - "よ", - "ょ" - ], - [ - "ア", - "ァ" - ], - [ - "イ", - "ィ" - ], - [ - "ウ", - "ゥ" - ], - [ - "エ", - "ェ" - ], - [ - "オ", - "ォ" - ], - [ - "ツ", - "ッ" - ], - [ - "ヤ", - "ャ" - ], - [ - "ユ", - "ュ" - ], - [ - "ヨ", - "ョ" - ] - ] + "equivalence_classes": [] } \ No newline at end of file