浏览代码

fix: update dictionary file names for Japan and Chinese CHT configurations

myhloli 4 月之前
父节点
当前提交
d2b3b85743
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      mineru/model/ocr/paddleocr2pytorch/pytorchocr/utils/resources/models_config.yml

+ 2 - 2
mineru/model/ocr/paddleocr2pytorch/pytorchocr/utils/resources/models_config.yml

@@ -30,11 +30,11 @@ lang:
   japan:
     det: ch_PP-OCRv5_det_infer.pth
     rec: ch_PP-OCRv5_rec_server_infer.pth
-    dict: japan_dict.txt
+    dict: ppocrv5_dict.txt
   chinese_cht:
     det: ch_PP-OCRv5_det_infer.pth
     rec: ch_PP-OCRv5_rec_server_infer.pth
-    dict: chinese_cht_dict.txt
+    dict: ppocrv5_dict.txt
   ta:
     det: Multilingual_PP-OCRv3_det_infer.pth
     rec: ta_PP-OCRv3_rec_infer.pth