This commit is contained in:
恍兮惚兮 2024-05-01 11:33:04 +08:00
parent 46857e6221
commit a7bc3574d3
7 changed files with 2283 additions and 939 deletions

View File

@ -7,29 +7,38 @@
"only_from_exe": [],
"showrangeafterrangeselect": true,
"autodisappear": false,
"WindowBackdrop":0,
"WindowBackdrop": 0,
"read_raw": true,
"read_trans": false,
"read_translator": 0,
"disappear_delay": 5,
"network":1,
"hookmagpie":true,
"imagewrapmode":0,
"relationlinks":[["LunaTranslator","https://github.com/HIllya51/LunaTranslator"],["vndb","https://vndb.org/"]],
"hooklossless":true,
"direct_filterrepeat":false,
"allow_set_text_name":false,
"textoutputer":{
"clipboard":{
"use":false
"network": 1,
"hookmagpie": true,
"imagewrapmode": 0,
"relationlinks": [
[
"LunaTranslator",
"https://github.com/HIllya51/LunaTranslator"
],
[
"vndb",
"https://vndb.org/"
]
],
"hooklossless": true,
"direct_filterrepeat": false,
"allow_set_text_name": false,
"textoutputer": {
"clipboard": {
"use": false
},
"websocket":{
"use":false,
"port":2333
"websocket": {
"use": false,
"port": 2333
}
},
"embedded": {
"safecheck_use":true,
"safecheck_use": true,
"safecheckregexs": [
"(.*?)\\{(.*?)\\}(.*?)",
"(.*?)\\[(.*?)\\](.*?)"
@ -50,13 +59,13 @@
"buttonsize": 20,
"language_setted_2.4.5": false,
"postprocess_rank": [],
"transoptimi":{
"noundict":false,
"transerrorfix":false,
"gongxiangcishu":false,
"vndbnamemap":false,
"myprocess":false,
"arabic_reshaper":false
"transoptimi": {
"noundict": false,
"transerrorfix": false,
"gongxiangcishu": false,
"vndbnamemap": false,
"myprocess": false,
"arabic_reshaper": false
},
"uselongtermcache": false,
"hist_split": false,
@ -66,9 +75,12 @@
"button_color_close": "#D32424",
"button_color_normal": "#FFFFFF",
"textthreaddelay": 500,
"flushbuffersize":3000,
"transuigeo":[
500,500,1200,200
"flushbuffersize": 3000,
"transuigeo": [
500,
500,
1200,
200
],
"hist_geo": [
100,
@ -124,29 +136,29 @@
500,
500
],
"multiregion":false,
"rememberocrregions":false,
"ocrregions":[],
"textboxreadonly":true,
"multiregion": false,
"rememberocrregions": false,
"ocrregions": [],
"textboxreadonly": true,
"ocr_stable_sim": 0,
"ocr_diff_sim": 0.95,
"ocr_text_diff":3,
"ocr_text_diff": 3,
"autorun": true,
"usewebview":0,
"usewebview": 0,
"transparent": 80,
"fontsize": 17.0,
"localeswitchmethod": 0,
"hide_not_exists":false,
"startgamenototop":true,
"showgametitle":true,
"extra_space":0,
"hide_not_exists": false,
"startgamenototop": true,
"showgametitle": true,
"extra_space": 0,
"fonttype": "Arial",
"fonttype2": "Arial",
"miaobianwidth2": 3,
"miaobianwidth": 1,
"miaobiancolor": "#eeeeee",
"zitiyangshi": 2,
"hira_vis_type":0,
"hira_vis_type": 0,
"iskongxin": true,
"isshowrawtext": true,
"kanarate": 0.5,
@ -155,14 +167,14 @@
"isshowhira": false,
"locktools": true,
"showfanyisource": false,
"use_yapi":true,
"showfanyi":true,
"use_yapi": true,
"showfanyi": true,
"autoread": false,
"ttsnointerrupt":false,
"ttsnointerrupt": false,
"show_fenci": false,
"jiamingcolor": "black",
"settingfonttype": "Arial",
"showintab_sub":false,
"showintab_sub": false,
"setting_geo_2": [
100,
100,
@ -191,8 +203,8 @@
"dialog_savegame_layout": {
"itemw": 250,
"itemh": 350,
"margin":10,
"textH":50,
"margin": 10,
"textH": 50,
"backcolor": "#c38282",
"onselectcolor": "#007fff",
"onfilenoexistscolor": "#acacac"
@ -233,16 +245,17 @@
"tip": "打开关联页面",
"icon": "fa.sitemap"
},
"open_game_setting":{
"use":false,
"tip":"游戏设置",
"icon":"fa.futbol-o"
"open_game_setting": {
"use": false,
"tip": "游戏设置",
"icon": "fa.futbol-o"
},
"mousetransbutton": {
"use": true,
"tip": "鼠标穿透窗口",
"icon": "fa.mouse-pointer"
},"backtransbutton": {
},
"backtransbutton": {
"use": true,
"tip": "背景窗口透明",
"icon": "fa.lightbulb-o"
@ -652,7 +665,7 @@
"use": false,
"path": "",
"name": "MeCab",
"codec":0
"codec": 0
},
"mojinlt": {
"use": false,
@ -711,17 +724,17 @@
"name": "goo"
}
},
"darklight":0,
"darktheme":0,
"lighttheme":0,
"darklight": 0,
"darktheme": 0,
"lighttheme": 0,
"usesearchword": false,
"usecopyword":false,
"usewordorigin":false,
"usecopyword": false,
"usewordorigin": false,
"ttscommon": {
"rate": 1.0,
"volume": 100.0,
"tts_repair":false,
"tts_repair_regex":[]
"tts_repair": false,
"tts_repair_regex": []
},
"allowmulti": true,
"sourcestatus2": {
@ -753,10 +766,12 @@
"baiduocr_X": {
"use": false,
"name": "baiduOCR_X"
},"txocr": {
},
"txocr": {
"use": false,
"name": "tencent.ocr"
},"txocrtrans": {
},
"txocrtrans": {
"use": false,
"name": "tencent.ImageTranslate"
},
@ -881,9 +896,9 @@
"use": false,
"color": "blue",
"name": "DeepLX",
"useproxy":false
"useproxy": false
},
"dev_chatgpt":{
"dev_chatgpt": {
"use": false,
"color": "blue",
"type": "dev",
@ -930,7 +945,8 @@
"color": "blue",
"type": "dev",
"name": "有道"
},"dev_sogou": {
},
"dev_sogou": {
"use": false,
"color": "blue",
"type": "dev",
@ -1133,7 +1149,7 @@
"use": false,
"color": "blue",
"name": "ChatGPT",
"is_gpt_like":true
"is_gpt_like": true
},
"cohere": {
"type": "api",
@ -1152,7 +1168,7 @@
"use": false,
"color": "blue",
"name": "ChatGPT_非官方",
"is_gpt_like":true
"is_gpt_like": true
},
"hanshant": {
"type": "offline",
@ -1199,7 +1215,7 @@
"name": "TGW语言模型"
}
},
"magpiepath":"",
"magpiepath": "",
"minifollow": false,
"movefollow": false,
"focusfollow": false,
@ -1207,7 +1223,7 @@
"autostarthook": true,
"minlength": 0,
"maxlength": 1000,
"maxoriginlength":1000,
"maxoriginlength": 1000,
"srclang3": 1,
"tgtlang3": 0,
"transkiroku": false,
@ -1216,8 +1232,8 @@
"image_analyse": true,
"time_period": false,
"ocr_auto_method": 0,
"ocr_presolve_method":0,
"binary_thresh":128,
"ocr_presolve_method": 0,
"binary_thresh": 128,
"ocr_interval": 5,
"mustocr_interval": 5,
"ocrmininterval": 1,
@ -1228,6 +1244,6 @@
"path": ""
},
"proxies": null,
"labelset":[],
"backupsavedatato":""
}
"labelset": [],
"backupsavedatato": ""
}

View File

@ -1,7 +1,7 @@
{
"use": true,
"args": {
"替换内容": {
"替换内容": {
"\\|二": "に",
"ムロ": "合",
"カゝ": "か",

View File

@ -3,175 +3,221 @@
"args": {
"注册网址": "https://console.bce.baidu.com/ai/?fromai=1#/ai/ocr/app/list",
"API Key": "",
"Secret Key": "",
"接口":0,
"Secret Key": "",
"接口": 0,
"次数统计": "0"
},"argstype":{
"注册网址":{
"type":"label",
"islink":true
},
"接口":{
"type":"combo",
"list":["通用文字识别(标准版)","通用文字识别(标准含位置版)","通用文字识别(高精度版)","通用文字识别(高精度含位置版)"]
},
"argstype": {
"注册网址": {
"type": "label",
"islink": true
},
"接口": {
"type": "combo",
"list": [
"通用文字识别(标准版)",
"通用文字识别(标准含位置版)",
"通用文字识别(高精度版)",
"通用文字识别(高精度含位置版)"
]
}
}
},"txocr": {
}
},
"txocr": {
"args": {
"注册网址": "https://cloud.tencent.com/document/product/866/33526",
"SecretId": "",
"SecretKey": "",
"Region":0
},"argstype":{
"注册网址":{
"type":"label",
"islink":true
},
"Region":{
"type":"combo",
"list":["ap-beijing","ap-guangzhou","ap-hongkong","ap-seoul","ap-shanghai","ap-singapore","na-toronto"]
"SecretKey": "",
"Region": 0
},
"argstype": {
"注册网址": {
"type": "label",
"islink": true
},
"Region": {
"type": "combo",
"list": [
"ap-beijing",
"ap-guangzhou",
"ap-hongkong",
"ap-seoul",
"ap-shanghai",
"ap-singapore",
"na-toronto"
]
}
}
},"txocrtrans": {
}
},
"txocrtrans": {
"args": {
"注册网址": "https://cloud.tencent.com/document/product/551/17232",
"SecretId": "",
"SecretKey": "",
"ProjectId":"0",
"Region":0
},"argstype":{
"注册网址":{
"type":"label",
"islink":true
},
"Region":{
"type":"combo",
"list":["ap-beijing","ap-guangzhou","ap-hongkong","ap-seoul","ap-shanghai","ap-singapore","na-toronto"]
"SecretKey": "",
"ProjectId": "0",
"Region": 0
},
"argstype": {
"注册网址": {
"type": "label",
"islink": true
},
"Region": {
"type": "combo",
"list": [
"ap-beijing",
"ap-guangzhou",
"ap-hongkong",
"ap-seoul",
"ap-shanghai",
"ap-singapore",
"na-toronto"
]
}
}
},"feishu": {
}
},
"feishu": {
"args": {
"注册网址": "https://open.feishu.cn/document/ukTMukTMukTM/ukDNz4SO0MjL5QzM/auth-v3/auth/tenant_access_token_internal",
"app_id": "",
"app_secret": ""
},"argstype":{
"注册网址":{
"type":"label",
"islink":true
}
}
},
"argstype": {
"注册网址": {
"type": "label",
"islink": true
}
}
},
"docsumo": {
"args": {
"注册网址": "https://docsumo.com/",
"token": "",
"次数统计": "0"
},"argstype":{
"注册网址":{
"type":"label",
"islink":true
}
}
},
"argstype": {
"注册网址": {
"type": "label",
"islink": true
}
}
},
"youdaocr": {
"args": {
"注册网址": "https://ai.youdao.com/product-ocr-print.s",
"接口":0,
"接口": 0,
"APP_KEY": "",
"APP_SECRET":"",
"APP_SECRET": "",
"次数统计": "0"
},"argstype":{
"注册网址":{
"type":"label",
"islink":true
},
"接口":{
"type":"combo",
"list":["免费试用","通用文字识别 API"]
},
"argstype": {
"注册网址": {
"type": "label",
"islink": true
},
"接口": {
"type": "combo",
"list": [
"免费试用",
"通用文字识别 API"
]
}
}
}
},
"youdaocrtrans": {
"args": {
"注册网址": "https://ai.youdao.com/product-fanyi-picture.s",
"接口":0,
"接口": 0,
"APP_KEY": "",
"APP_SECRET":"",
"APP_SECRET": "",
"次数统计": "0"
},"argstype":{
"注册网址":{
"type":"label",
"islink":true
},
"接口":{
"type":"combo",
"list":["免费试用","图片翻译 API"]
},
"argstype": {
"注册网址": {
"type": "label",
"islink": true
},
"接口": {
"type": "combo",
"list": [
"免费试用",
"图片翻译 API"
]
}
}
}
},
"ocrspace": {
"args": {
"注册网址": "https://ocr.space/",
"apikey": "",
"次数统计": "0",
"interface":0
},"argstype":{
"注册网址":{
"type":"label",
"islink":true
},
"interface":{
"type":"combo",
"list":["pro","free"]
"interface": 0
},
"argstype": {
"注册网址": {
"type": "label",
"islink": true
},
"interface": {
"type": "combo",
"list": [
"pro",
"free"
]
}
}
}
},
"volcengine": {
"volcengine": {
"args": {
"注册网址": "https://console.volcengine.com/ai/ability/detail/1",
"密钥获取": "https://console.volcengine.com/iam/keymanage/",
"Access Key ID": "",
"Secret Access Key": ""
},"argstype":{
"注册网址":{
"type":"label",
"islink":true
},"密钥获取":{
"type":"label",
"islink":true
}
}
},
"argstype": {
"注册网址": {
"type": "label",
"islink": true
},
"密钥获取": {
"type": "label",
"islink": true
}
}
},
"tesseract5": {
"tesseract5": {
"args": {
"下载": "https://github.com/UB-Mannheim/tesseract/wiki",
"路径": "",
"语言":0,
"附加参数":"--psm 6"
},"argstype":{
"下载":{
"type":"label",
"islink":true
},"路径":{
"type":"file",
"dir":false,
"filter":"tesseract.exe",
"multi":false
},
"语言":{
"type":"combo",
"list_function":["ocrengines.tesseract5","list_langs"]
"语言": 0,
"附加参数": "--psm 6"
},
"argstype": {
"下载": {
"type": "label",
"islink": true
},
"路径": {
"type": "file",
"dir": false,
"filter": "tesseract.exe",
"multi": false
},
"语言": {
"type": "combo",
"list_function": [
"ocrengines.tesseract5",
"list_langs"
]
}
}
}
},
"mangaocr": {
"args": {
"项目仓库": "https://github.com/kha-white/manga-ocr",
"整合包-CPU": "https://github.com/raindrop213/LunaTranslator-re/releases/download/v0.0.2/manga-ocr_cpu_v0.1.11.zip",
"整合包-GPU": "https://github.com/raindrop213/LunaTranslator-re/releases/download/v0.0.2/manga-ocr_gpu_v0.1.11.7z",
"Port":5665
"Port": 5665
},
"argstype": {
"项目仓库": {
@ -186,12 +232,12 @@
"type": "label",
"islink": true
},
"Port":{
"type":"intspin",
"min":1,
"max":65535,
"step":1
}
"Port": {
"type": "intspin",
"min": 1,
"max": 65535,
"step": 1
}
}
}
}

View File

@ -1,24 +1,27 @@
{
"_remove_non_shiftjis_char":{
"use":false,
"name":"过滤文本中的非日语字符集字符"
},
"_remove_latin":{
"use":false,
"name":"过滤latin-1字符集"
},
"_remove_ascii":{
"use":false,
"name":"过滤ASCII字符集"
},"_remove_control":{
"use":false,
"name":"过滤控制字符"
},"_remove_chaos":{
"use":false,
"name":"过滤其他乱码"
},"_remove_not_in_ja_bracket":{
"use":false,
"name":"过滤「」以外的字符"
"_remove_non_shiftjis_char": {
"use": false,
"name": "过滤文本中的非日语字符集字符"
},
"_remove_latin": {
"use": false,
"name": "过滤latin-1字符集"
},
"_remove_ascii": {
"use": false,
"name": "过滤ASCII字符集"
},
"_remove_control": {
"use": false,
"name": "过滤控制字符"
},
"_remove_chaos": {
"use": false,
"name": "过滤其他乱码"
},
"_remove_not_in_ja_bracket": {
"use": false,
"name": "过滤「」以外的字符"
},
"_1": {
"use": false,
@ -29,9 +32,9 @@
"name": "去除重复字符_AAAABBBBCCCC->ABC",
"args": {
"重复次数(若为1则自动分析去重)": 1,
"保持非重复字符":true
"保持非重复字符": true
},
"argstype":{
"argstype": {
"保持非重复字符": {
"type": "switch"
},
@ -49,7 +52,7 @@
"args": {
"重复次数(若为1则自动分析去重)": 1
},
"argstype":{
"argstype": {
"重复次数(若为1则自动分析去重)": {
"type": "intspin",
"min": 0,
@ -57,7 +60,8 @@
"step": 1
}
}
},"_3_2": {
},
"_3_2": {
"use": false,
"name": "去除重复行_S1S1S1S2S2S2->S1S2"
},
@ -76,20 +80,25 @@
"_91": {
"use": false,
"name": "过滤数字"
},"_92": {
},
"_92": {
"use": false,
"name": "过滤英文字母"
},
"_7": {
"_7": {
"use": true,
"name": "简单字符串替换",
"args": { "替换内容": {}}
},
"_7_zhuanyi": {
"args": {
"替换内容": {}
}
},
"_7_zhuanyi": {
"use": true,
"name": "转义字符串替换",
"args": { "替换内容": {}}
},
"args": {
"替换内容": {}
}
},
"_8": {
"use": false,
"name": "正则表达式替换",

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
PyQt5==5.15.10
PyQt5-Qt5==5.15.2
webviewpy==1.1.0
nuitka==2.0.5
webviewpy
nuitka==2.2
imageio
pefile