From a7bc3574d33595c77ef4fedd40c6a122b3501e7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=81=8D=E5=85=AE=E6=83=9A=E5=85=AE?= <101191390+HIllya51@users.noreply.github.com> Date: Wed, 1 May 2024 11:33:04 +0800 Subject: [PATCH] update --- .../files/defaultconfig/config.json | 154 +- .../files/defaultconfig/ocrerrorfix.json | 2 +- .../files/defaultconfig/ocrsetting.json | 280 ++-- .../defaultconfig/postprocessconfig.json | 71 +- .../files/defaultconfig/static_data.json | 1410 ++++++++++++++++- .../defaultconfig/translatorsetting.json | 1301 +++++++-------- LunaTranslator/requirements.txt | 4 +- 7 files changed, 2283 insertions(+), 939 deletions(-) diff --git a/LunaTranslator/files/defaultconfig/config.json b/LunaTranslator/files/defaultconfig/config.json index 8cf6454c..d77d2f7c 100644 --- a/LunaTranslator/files/defaultconfig/config.json +++ b/LunaTranslator/files/defaultconfig/config.json @@ -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": "" +} \ No newline at end of file diff --git a/LunaTranslator/files/defaultconfig/ocrerrorfix.json b/LunaTranslator/files/defaultconfig/ocrerrorfix.json index 67a47f92..d780cd44 100644 --- a/LunaTranslator/files/defaultconfig/ocrerrorfix.json +++ b/LunaTranslator/files/defaultconfig/ocrerrorfix.json @@ -1,7 +1,7 @@ { "use": true, "args": { - "替换内容": { + "替换内容": { "\\|二": "に", "ムロ": "合", "カゝ": "か", diff --git a/LunaTranslator/files/defaultconfig/ocrsetting.json b/LunaTranslator/files/defaultconfig/ocrsetting.json index d6c76a45..fefd7376 100644 --- a/LunaTranslator/files/defaultconfig/ocrsetting.json +++ b/LunaTranslator/files/defaultconfig/ocrsetting.json @@ -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 + } } } } \ No newline at end of file diff --git a/LunaTranslator/files/defaultconfig/postprocessconfig.json b/LunaTranslator/files/defaultconfig/postprocessconfig.json index be800b05..52ff6342 100644 --- a/LunaTranslator/files/defaultconfig/postprocessconfig.json +++ b/LunaTranslator/files/defaultconfig/postprocessconfig.json @@ -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": "正则表达式替换", diff --git a/LunaTranslator/files/defaultconfig/static_data.json b/LunaTranslator/files/defaultconfig/static_data.json index 50d9bbcc..66ed3b15 100644 --- a/LunaTranslator/files/defaultconfig/static_data.json +++ b/LunaTranslator/files/defaultconfig/static_data.json @@ -1,32 +1,656 @@ { - "version":"v2.47.0", - "themes":{ - "dark":[ - {"file":"dark1.qss","name":"PyQtDarkTheme"}, - {"file":"dark2.qss","name":"QDarkStyleSheet"} + "version": "v2.47.1", + "themes": { + "dark": [ + { + "file": "dark1.qss", + "name": "PyQtDarkTheme" + }, + { + "file": "dark2.qss", + "name": "QDarkStyleSheet" + } ], - "light":[ - {"file":"light1.qss","name":"PyQtDarkTheme"}, - {"file":"light2.qss","name":"QDarkStyleSheet"} + "light": [ + { + "file": "light1.qss", + "name": "PyQtDarkTheme" + }, + { + "file": "light2.qss", + "name": "QDarkStyleSheet" + } ] }, - "language_list_show":["简体中文","日本語","English","Русский язык","Español","한국어","Français","繁體中文","Tiếng Việt","Türkçe","Polski","Українська Мова","Italiano","اللغة العربية","ภาษาไทย","བོད་སྐད།"] , - "language_list_translator":["简体中文","日文","英文","俄语","西班牙语","韩语","法语","繁体中文","越南语","土耳其语","波兰语","乌克兰语","意大利语","阿拉伯语","泰语","藏语"], - "language_list_translator_inner":["zh", "ja", "en","ru","es","ko","fr","cht","vi","tr","pl","uk","it","ar","th","bo"], - "codepage_display":["日语(CP932,SHIFT-JIS)","UTF8(CP65001)","简体中文(CP936,GBK)","繁体中文(CP950,BIG5)","韩语(CP949,EUC-KR)","越南语(CP1258)","泰语(CP874)","阿拉伯语(CP1256)","希伯来语(CP1255)","土耳其语(CP1254)","希腊语(CP1253)","北欧(CP1257)","中东欧(CP1250)","西里尔(CP1251)","拉丁(CP1252)","英语(CP437)"], - "codepage_real":[932,65001,936,950,949,1258,874,1256,1255,1254,1253,1257,1250,1251,1252,437], - "allkata":"ァアィイゥウェエォオカガキギクグケゲコゴサザシジスズセゼソゾタダチヂッツヅテデトドナニヌネノハバパヒビピフブプヘベペホボポマミムメモャヤュユョヨラリルレロヮワヰヱヲンヴヵヶヽヾ", - "allhira":"ぁあぃいぅうぇえぉおかがきぎくぐけげこごさざしじすずせぜそぞただちぢっつづてでとどなにぬねのはばぱひびぴふぶぷへべぺほぼぽまみむめもゃやゅゆょよらりるれろゎわゐゑをんゔゕゖゝゞ", - "hira":["あ","い","う","え","お","か","き","く","け","こ","さ","し","す","せ","そ","た","ち","つ","て","と","な","に","ぬ","ね","の","は","ひ","ふ","へ","ほ","ま","み","む","め","も","や","ゆ","よ","ら","り","る","れ","ろ","わ","を","ん","が","ぎ","ぐ","げ","ご","ざ","じ","ず","ぜ","ぞ","だ","ぢ","づ","で","ど","ば","び","ぶ","べ","ぼ","ぱ","ぴ","ぷ","ぺ","ぽ","きゃ","きぃ","きゅ","きぇ","きょ","しゃ","しぃ","しゅ","しぇ","しょ","ちゃ","ちぃ","ちゅ","ちぇ","ちょ","にゃ","にぃ","にゅ","にぇ","にょ","ひゃ","ひぃ","ひゅ","ひぇ","ひょ","みゃ","みぃ","みゅ","みぇ","みょ","りゃ","りぃ","りゅ","りぇ","りょ","ぎゃ","ぎぃ","ぎゅ","ぎぇ","ぎょ","じゃ","じぃ","じゅ","じぇ","じょ","ぢゃ","ぢぃ","ぢゅ","ぢぇ","ぢょ","びゃ","びぃ","びゅ","びぇ","びょ","ぴゃ","ぴぃ","ぴゅ","ぴぇ","ぴょ","ぐぁ","ぐぃ","ぐぅ","ぐぇ","ぐぉ","つぁ","つぃ","つぇ","つぉ","ふぁ","ふぃ","ふぇ","ふぉ","うぁ","うぃ","うぅ","うぇ","うぉ","ヴぁ","ヴぃ","ヴ","ヴぇ","ヴぉ","でゃ","でぃ","でゅ","でぇ","でょ","てゃ","てぃ","てゅ","てぇ","てょ"], - "kata":["ア", "イ", "ウ", "エ", "オ", "カ", "キ", "ク", "ケ", "コ", "サ", "シ", "ス", "セ", "ソ", "タ", "チ", "ツ", "テ", "ト", "ナ", "ニ", "ヌ", "ネ", "ノ", "ハ", "ヒ", "フ", "ヘ", "ホ", "マ", "ミ", "ム", "メ", "モ", "ヤ", "ユ", "ヨ", "ラ", "リ", "ル", "レ", "ロ", "ワ", "ヲ", "ン", "ガ", "ギ", "グ", "ゲ", "ゴ", "ザ", "ジ", "ズ", "ゼ", "ゾ", "ダ", "ヂ", "ヅ", "デ", "ド", "バ", "ビ", "ブ", "ベ", "ボ", "パ", "ピ", "プ", "ペ", "ポ", "キャ", "キィ", "キュ", "キェ", "キョ", "シャ", "シィ", "シュ", "シェ", "ショ", "チャ", "チィ", "チュ", "チェ", "チョ", "ニャ", "ニィ", "ニュ", "ニェ", "ニョ", "ヒャ", "ヒィ", "ヒュ", "ヒェ", "ヒョ", "ミャ", "ミィ", "ミュ", "ミェ", "ミョ", "リャ", "リィ", "リュ", "リェ", "リョ", "ギャ", "ギィ", "ギュ", "ギェ", "ギョ", "ジャ", "ジィ", "ジュ", "ジェ", "ジョ", "ヂャ", "ヂィ", "ヂュ", "ヂェ", "ヂョ", "ビャ", "ビィ", "ビュ", "ビェ", "ビョ", "ピャ", "ピィ", "ピュ", "ピェ", "ピョ", "グァ", "グィ", "グゥ", "グェ", "グォ", "ツァ", "ツィ", "ツェ", "ツォ", "ファ", "フィ", "フェ", "フォ", "ウァ", "ウィ", "ウゥ", "ウェ", "ウォ", "ヴァ", "ヴィ", "ヴ", "ヴェ", "ヴォ", "デャ", "ディ", "デュ", "デェ", "デョ", "テャ", "ティ", "テュ", "テェ", "テョ"], - "roma":["a","i","u","e","o","ka","ki","ku","ke","ko","sa","shi","su","se","so","ta","chi","tsu","te","to","na","ni","nu","ne","no","ha","hi","hu","he","ho","ma","mi","mu","me","mo","ya","yu","yo","ra","ri","ru","re","ro","wa","wo","n","ga","gi","gu","ge","go","za","ji","zu","ze","zo","da","ji","du","de","do","ba","bi","bu","be","bo","pa","pi","pu","pe","po","kya","kyi","kyu","kye","kyo","sha","syi","shu","she","sho","cha","cyi","chu","che","cho","nya","nyi","nyu","nye","nyo","hya","hyi","hyu","hye","hyo","mya","myi","myu","mye","myo","rya","ryi","ryu","rye","ryo","gya","gyi","gyu","gye","gyo","ja","ji","ju","je","jo","dya","dyi","dyu","dye","dyo","bya","byi","byu","bye","byo","pya","pyi","pyu","pye","pyo","gwa","gwi","gwu","gwe","gwo","tsa","tsi","tse","tso","fa","fi","fe","fo","wha","whi","whu","whe","who","va","vi","vu","ve","vo","dha","dhi","dhu","dhe","dho","tha","thi","thu","the","tho"], - "charsetmap":[0,1,128,134,136,129,163,122,161,178,177,162,238,186,204], - "charsetmapshow":["自动","系统默认","日语","简体中文","繁体中文","韩语","越南语","泰语","希腊语","阿拉伯语","希伯来语","土耳其语","中东欧","北欧","西里尔"], - "hcodeintroduction":"Enter read code\nR{S|Q|V|M}[null_length<][codepage#]@addr\nOR\nEnter hook code\nH{A|B|W|H|S|Q|V|M}[F][null_length<][N][codepage#][padding+]data_offset[*deref_offset][:split_offset[*deref_offset]]@addr[:module[:func]]\nAll numbers except codepage/null_length in hexadecimal\nDefault codepage is 932 (Shift-JIS) but this can be changed in settings\nA/B: codepage char little/big endian\nW: UTF-16 char\nH: Two hex bytes\nS/Q/V/M: codepage/UTF-16/UTF-8/hex string\nF: treat strings as full lines of text\nN: don't use context\nnull_length: length of null terminator used for string\npadding: length of padding data before string (C struct { int64_t size; char string[500]; } needs padding = 8)\nNegatives for data_offset/split_offset refer to registers\n-4 for EAX, -8 for ECX, -C for EDX, -10 for EBX, -14 for ESP, -18 for EBP, -1C for ESI, -20 for EDI\n-C for RAX, -14 for RBX, -1C for RCX, -24 for RDX, and so on for RSP, RBP, RSI, RDI, R8-R15\n* means dereference pointer+deref_offset", + "language_list_show": [ + "简体中文", + "日本語", + "English", + "Русский язык", + "Español", + "한국어", + "Français", + "繁體中文", + "Tiếng Việt", + "Türkçe", + "Polski", + "Українська Мова", + "Italiano", + "اللغة العربية", + "ภาษาไทย", + "བོད་སྐད།" + ], + "language_list_translator": [ + "简体中文", + "日文", + "英文", + "俄语", + "西班牙语", + "韩语", + "法语", + "繁体中文", + "越南语", + "土耳其语", + "波兰语", + "乌克兰语", + "意大利语", + "阿拉伯语", + "泰语", + "藏语" + ], + "language_list_translator_inner": [ + "zh", + "ja", + "en", + "ru", + "es", + "ko", + "fr", + "cht", + "vi", + "tr", + "pl", + "uk", + "it", + "ar", + "th", + "bo" + ], + "codepage_display": [ + "日语(CP932,SHIFT-JIS)", + "UTF8(CP65001)", + "简体中文(CP936,GBK)", + "繁体中文(CP950,BIG5)", + "韩语(CP949,EUC-KR)", + "越南语(CP1258)", + "泰语(CP874)", + "阿拉伯语(CP1256)", + "希伯来语(CP1255)", + "土耳其语(CP1254)", + "希腊语(CP1253)", + "北欧(CP1257)", + "中东欧(CP1250)", + "西里尔(CP1251)", + "拉丁(CP1252)", + "英语(CP437)" + ], + "codepage_real": [ + 932, + 65001, + 936, + 950, + 949, + 1258, + 874, + 1256, + 1255, + 1254, + 1253, + 1257, + 1250, + 1251, + 1252, + 437 + ], + "allkata": "ァアィイゥウェエォオカガキギクグケゲコゴサザシジスズセゼソゾタダチヂッツヅテデトドナニヌネノハバパヒビピフブプヘベペホボポマミムメモャヤュユョヨラリルレロヮワヰヱヲンヴヵヶヽヾ", + "allhira": "ぁあぃいぅうぇえぉおかがきぎくぐけげこごさざしじすずせぜそぞただちぢっつづてでとどなにぬねのはばぱひびぴふぶぷへべぺほぼぽまみむめもゃやゅゆょよらりるれろゎわゐゑをんゔゕゖゝゞ", + "hira": [ + "あ", + "い", + "う", + "え", + "お", + "か", + "き", + "く", + "け", + "こ", + "さ", + "し", + "す", + "せ", + "そ", + "た", + "ち", + "つ", + "て", + "と", + "な", + "に", + "ぬ", + "ね", + "の", + "は", + "ひ", + "ふ", + "へ", + "ほ", + "ま", + "み", + "む", + "め", + "も", + "や", + "ゆ", + "よ", + "ら", + "り", + "る", + "れ", + "ろ", + "わ", + "を", + "ん", + "が", + "ぎ", + "ぐ", + "げ", + "ご", + "ざ", + "じ", + "ず", + "ぜ", + "ぞ", + "だ", + "ぢ", + "づ", + "で", + "ど", + "ば", + "び", + "ぶ", + "べ", + "ぼ", + "ぱ", + "ぴ", + "ぷ", + "ぺ", + "ぽ", + "きゃ", + "きぃ", + "きゅ", + "きぇ", + "きょ", + "しゃ", + "しぃ", + "しゅ", + "しぇ", + "しょ", + "ちゃ", + "ちぃ", + "ちゅ", + "ちぇ", + "ちょ", + "にゃ", + "にぃ", + "にゅ", + "にぇ", + "にょ", + "ひゃ", + "ひぃ", + "ひゅ", + "ひぇ", + "ひょ", + "みゃ", + "みぃ", + "みゅ", + "みぇ", + "みょ", + "りゃ", + "りぃ", + "りゅ", + "りぇ", + "りょ", + "ぎゃ", + "ぎぃ", + "ぎゅ", + "ぎぇ", + "ぎょ", + "じゃ", + "じぃ", + "じゅ", + "じぇ", + "じょ", + "ぢゃ", + "ぢぃ", + "ぢゅ", + "ぢぇ", + "ぢょ", + "びゃ", + "びぃ", + "びゅ", + "びぇ", + "びょ", + "ぴゃ", + "ぴぃ", + "ぴゅ", + "ぴぇ", + "ぴょ", + "ぐぁ", + "ぐぃ", + "ぐぅ", + "ぐぇ", + "ぐぉ", + "つぁ", + "つぃ", + "つぇ", + "つぉ", + "ふぁ", + "ふぃ", + "ふぇ", + "ふぉ", + "うぁ", + "うぃ", + "うぅ", + "うぇ", + "うぉ", + "ヴぁ", + "ヴぃ", + "ヴ", + "ヴぇ", + "ヴぉ", + "でゃ", + "でぃ", + "でゅ", + "でぇ", + "でょ", + "てゃ", + "てぃ", + "てゅ", + "てぇ", + "てょ" + ], + "kata": [ + "ア", + "イ", + "ウ", + "エ", + "オ", + "カ", + "キ", + "ク", + "ケ", + "コ", + "サ", + "シ", + "ス", + "セ", + "ソ", + "タ", + "チ", + "ツ", + "テ", + "ト", + "ナ", + "ニ", + "ヌ", + "ネ", + "ノ", + "ハ", + "ヒ", + "フ", + "ヘ", + "ホ", + "マ", + "ミ", + "ム", + "メ", + "モ", + "ヤ", + "ユ", + "ヨ", + "ラ", + "リ", + "ル", + "レ", + "ロ", + "ワ", + "ヲ", + "ン", + "ガ", + "ギ", + "グ", + "ゲ", + "ゴ", + "ザ", + "ジ", + "ズ", + "ゼ", + "ゾ", + "ダ", + "ヂ", + "ヅ", + "デ", + "ド", + "バ", + "ビ", + "ブ", + "ベ", + "ボ", + "パ", + "ピ", + "プ", + "ペ", + "ポ", + "キャ", + "キィ", + "キュ", + "キェ", + "キョ", + "シャ", + "シィ", + "シュ", + "シェ", + "ショ", + "チャ", + "チィ", + "チュ", + "チェ", + "チョ", + "ニャ", + "ニィ", + "ニュ", + "ニェ", + "ニョ", + "ヒャ", + "ヒィ", + "ヒュ", + "ヒェ", + "ヒョ", + "ミャ", + "ミィ", + "ミュ", + "ミェ", + "ミョ", + "リャ", + "リィ", + "リュ", + "リェ", + "リョ", + "ギャ", + "ギィ", + "ギュ", + "ギェ", + "ギョ", + "ジャ", + "ジィ", + "ジュ", + "ジェ", + "ジョ", + "ヂャ", + "ヂィ", + "ヂュ", + "ヂェ", + "ヂョ", + "ビャ", + "ビィ", + "ビュ", + "ビェ", + "ビョ", + "ピャ", + "ピィ", + "ピュ", + "ピェ", + "ピョ", + "グァ", + "グィ", + "グゥ", + "グェ", + "グォ", + "ツァ", + "ツィ", + "ツェ", + "ツォ", + "ファ", + "フィ", + "フェ", + "フォ", + "ウァ", + "ウィ", + "ウゥ", + "ウェ", + "ウォ", + "ヴァ", + "ヴィ", + "ヴ", + "ヴェ", + "ヴォ", + "デャ", + "ディ", + "デュ", + "デェ", + "デョ", + "テャ", + "ティ", + "テュ", + "テェ", + "テョ" + ], + "roma": [ + "a", + "i", + "u", + "e", + "o", + "ka", + "ki", + "ku", + "ke", + "ko", + "sa", + "shi", + "su", + "se", + "so", + "ta", + "chi", + "tsu", + "te", + "to", + "na", + "ni", + "nu", + "ne", + "no", + "ha", + "hi", + "hu", + "he", + "ho", + "ma", + "mi", + "mu", + "me", + "mo", + "ya", + "yu", + "yo", + "ra", + "ri", + "ru", + "re", + "ro", + "wa", + "wo", + "n", + "ga", + "gi", + "gu", + "ge", + "go", + "za", + "ji", + "zu", + "ze", + "zo", + "da", + "ji", + "du", + "de", + "do", + "ba", + "bi", + "bu", + "be", + "bo", + "pa", + "pi", + "pu", + "pe", + "po", + "kya", + "kyi", + "kyu", + "kye", + "kyo", + "sha", + "syi", + "shu", + "she", + "sho", + "cha", + "cyi", + "chu", + "che", + "cho", + "nya", + "nyi", + "nyu", + "nye", + "nyo", + "hya", + "hyi", + "hyu", + "hye", + "hyo", + "mya", + "myi", + "myu", + "mye", + "myo", + "rya", + "ryi", + "ryu", + "rye", + "ryo", + "gya", + "gyi", + "gyu", + "gye", + "gyo", + "ja", + "ji", + "ju", + "je", + "jo", + "dya", + "dyi", + "dyu", + "dye", + "dyo", + "bya", + "byi", + "byu", + "bye", + "byo", + "pya", + "pyi", + "pyu", + "pye", + "pyo", + "gwa", + "gwi", + "gwu", + "gwe", + "gwo", + "tsa", + "tsi", + "tse", + "tso", + "fa", + "fi", + "fe", + "fo", + "wha", + "whi", + "whu", + "whe", + "who", + "va", + "vi", + "vu", + "ve", + "vo", + "dha", + "dhi", + "dhu", + "dhe", + "dho", + "tha", + "thi", + "thu", + "the", + "tho" + ], + "charsetmap": [ + 0, + 1, + 128, + 134, + 136, + 129, + 163, + 122, + 161, + 178, + 177, + 162, + 238, + 186, + 204 + ], + "charsetmapshow": [ + "自动", + "系统默认", + "日语", + "简体中文", + "繁体中文", + "韩语", + "越南语", + "泰语", + "希腊语", + "阿拉伯语", + "希伯来语", + "土耳其语", + "中东欧", + "北欧", + "西里尔" + ], + "hcodeintroduction": "Enter read code\nR{S|Q|V|M}[null_length<][codepage#]@addr\nOR\nEnter hook code\nH{A|B|W|H|S|Q|V|M}[F][null_length<][N][codepage#][padding+]data_offset[*deref_offset][:split_offset[*deref_offset]]@addr[:module[:func]]\nAll numbers except codepage/null_length in hexadecimal\nDefault codepage is 932 (Shift-JIS) but this can be changed in settings\nA/B: codepage char little/big endian\nW: UTF-16 char\nH: Two hex bytes\nS/Q/V/M: codepage/UTF-16/UTF-8/hex string\nF: treat strings as full lines of text\nN: don't use context\nnull_length: length of null terminator used for string\npadding: length of padding data before string (C struct { int64_t size; char string[500]; } needs padding = 8)\nNegatives for data_offset/split_offset refer to registers\n-4 for EAX, -8 for ECX, -C for EDX, -10 for EBX, -14 for ESP, -18 for EBP, -1C for ESI, -20 for EDI\n-C for RAX, -14 for RBX, -1C for RCX, -24 for RDX, and so on for RSP, RBP, RSI, RDI, R8-R15\n* means dereference pointer+deref_offset", "aboutsource": [ { - "name":"离线翻译", - "sources":[ + "name": "离线翻译", + "sources": [ { "name": "J北京7", "link": "https://github.com/HIllya51/RESOURCES/releases/download/offline_translator/JBeijing7.zip" @@ -66,8 +690,8 @@ ] }, { - "name":"OCR语言包", - "sources":[ + "name": "OCR语言包", + "sources": [ { "name": "日语", "link": "https://github.com/HIllya51/RESOURCES/releases/download/ocr_models/ja.zip" @@ -95,8 +719,8 @@ ] }, { - "name":"辞书", - "sources":[ + "name": "辞书", + "sources": [ { "name": "MeCab", "link": "https://github.com/HIllya51/RESOURCES/releases/download/dictionary/Mecab.zip" @@ -128,8 +752,8 @@ ] }, { - "name":"语音合成", - "sources":[ + "name": "语音合成", + "sources": [ { "name": "NeoSpeech Misaki", "link": "https://github.com/HIllya51/RESOURCES/releases/download/speech_synthesis_packages/NeoSpeech.Japanese.Misaki.zip" @@ -265,8 +889,8 @@ ] }, { - "name":"转区", - "sources":[ + "name": "转区", + "sources": [ { "name": "Locale-Emulator", "link": "https://github.com/xupefei/Locale-Emulator/releases/download/v2.5.0.1/Locale.Emulator.2.5.0.1.zip" @@ -282,8 +906,8 @@ ] }, { - "name":"超分", - "sources":[ + "name": "超分", + "sources": [ { "name": "Magpie", "link": "https://github.com/Blinue/Magpie/releases" @@ -301,68 +925,708 @@ "WIN": 8, "ALT": 1 }, - "vkcode_map": {"F1": 112, "F2": 113, "F3": 114, "F4": 115, "F5": 116, "F6": 117, "F7": 118, "F8": 119, "F9": 120, "F10": 121, "F11": 122, "F12": 123, "A": 65, "B": 66, "C": 67, "D": 68, "E": 69, "F": 70, "G": 71, "H": 72, "I": 73, "J": 74, "K": 75, "L": 76, "M": 77, "N": 78, "O": 79, "P": 80, "Q": 81, "R": 82, "S": 83, "T": 84, "U": 85, "V": 86, "W": 87, "X": 88, "Y": 89, "Z": 90, "0": 48, "1": 49, "2": 50, "3": - 51, "4": 52, "5": 53, "6": 54, "7": 55, "8": 56, "9": 57, "UP": 38, "DOWN": 40, "LEFT": 37, "RIGHT": 39, "PRIOR": 33, "NEXT": 34, "HOME": 36, "END": 35, "INSERT": 45, "RETURN": 13, "TAB": 9, "SPACE": 32, "BACKSPACE": 8, "DELETE": 46, "ESC": 27, "PAUSE": 19, "MULTIPLY": 106, "ADD": 107, "SEPARATOR": 108, "SUBTRACT": 109, "-": 189, "=": 187, ",": 188, ".": 190, "/": 191, "`": 192, ";": 186, "[": 219, - "\\": 220, "]": 221, "'": 222, "DECIMAL": 110, "DIVIDE": 111, "NUMPAD0": 96, "NUMPAD1": 97, "NUMPAD2": 98, "NUMPAD3": 99, "NUMPAD4": 100, "NUMPAD5": 101, "NUMPAD6": 102, "NUMPAD7": 103, "NUMPAD8": 104, "NUMPAD9": 105, "F13": 124, "F14": 125, "F15": 126, "F16": 127, "F17": 128, "F18": 129, "F19": 130, "F20": 131, "F21": 132, "F22": 133, "F23": 134, "F24": 135, "CLEAR": 12, "ENTER": 13, "SHIFT": 16, "CTRL": 17, "ALT": 18, "CAPS_LOCK": 20, "SPACEBAR": 32, "PAGE_UP": 33, "PAGE_DOWN": 34, "LEFT_ARROW": 37, "UP_ARROW": 38, "RIGHT_ARROW": 39, "DOWN_ARROW": 40, "SELECT": 41, "PRINT": 42, "EXECUTE": 43, "PRINT_SCREEN": 44, "INS": 45, "DEL": 46, "HELP": 47, "NUMPAD_0": 96, "NUMPAD_1": 97, "NUMPAD_2": 98, "NUMPAD_3": 99, "NUMPAD_4": 100, "NUMPAD_5": 101, "NUMPAD_6": 102, "NUMPAD_7": 103, "NUMPAD_8": 104, "NUMPAD_9": 105, "MULTIPLY_KEY": 106, "ADD_KEY": 107, "SEPARATOR_KEY": 108, "SUBTRACT_KEY": 109, "DECIMAL_KEY": 110, "DIVIDE_KEY": 111, "NUM_LOCK": 144, "SCROLL_LOCK": 145, "LEFT_SHIFT": 160, "RIGHT_SHIFT ": 161, "LEFT_CONTROL": 162, "RIGHT_CONTROL": 163, "LEFT_MENU": 164, "RIGHT_MENU": 165, "BROWSER_BACK": 166, "BROWSER_FORWARD": 167, "BROWSER_REFRESH": 168, "BROWSER_STOP": 169, "BROWSER_SEARCH": - 170, "BROWSER_FAVORITES": 171, "BROWSER_START_AND_HOME": 172, "VOLUME_MUTE": 173, "VOLUME_DOWN": 174, "VOLUME_UP": 175, "NEXT_TRACK": 176, "PREVIOUS_TRACK": 177, "STOP_MEDIA": 178, "PLAY/PAUSE_MEDIA": - 179, "START_MAIL": 180, "SELECT_MEDIA": 181, "START_APPLICATION_1": 182, "START_APPLICATION_2": 183, "ATTN_KEY": 246, "CRSEL_KEY": 247, "EXSEL_KEY": 248, "PLAY_KEY": 250, "ZOOM_KEY": 251, "CLEAR_KEY": - 254, "+": 187}, - "kanjichs2ja":{"谈": "談", "挂": "掛", "临": "臨", "线": "線", "纸": "紙", "话": "話", "铣": "銑", "扬": "揚", "绿": "緑", "渔": "漁", "讲": "講", "贞": "貞", "胀": "脹", "视": "視", "录": "録", "后": "後", "缔": "締", "胜": "勝", "离": "離", "胁": "脅", "场": "場", "轴": "軸", "节": "節", "构": "構", "伟": "偉", "纪": "紀", "术": "術", "汉": "漢", "几": "幾", "绪": "緒", "导": "導", "辉": "輝", "咏": "詠", "库": "庫", "邮": "郵", "沟": "溝", "伞": "傘", "浊": "濁", "结": "結", "诱": "誘", "标": "標", "冢": "塚", "缩": "縮", "悬": "懸", "贵": "貴", "识": "識", "筑": "築", "连": "連", "扫": "掃", "叶": "葉", "驻": "駐", "吃": "喫", "骑": "騎", "务": "務", "锤": "錘", "馆": "館", "制": "製", "绩": "績", "寻": "尋", "辈": "輩", "册": "冊", "昙": "曇", "负": "負", "圣": "聖", "记": "記", "肠": "腸", "义": "義", "顽": "頑", "东": "東", "级": "級", "违": "違", "系": "係", "宪": "憲", "玺": "璽", "诊": "診", "类": "類", "笔": "筆", "过": "過", "忧": "憂", "暂": "暫", "誊": "謄", "谱": "譜", "亲": "親", "协": "協", "远": "遠", "说": "説", "极": "極", "帐": "帳", "诉": "訴", "华": "華", "托": "託", "频": "頻", "惯": "慣", "买": "買", "叹": "嘆", "鱼": "魚", "贝": "貝", "宾": "賓", "网": "網", "诞": "誕", "喷": "噴", "阶": "階", "债": "債", "杀": "殺", "响": "響", "进": "進", "坠": "墜", "范": "範", "钢": "鋼", "紧": "緊", "仆": "僕", "诈": "詐", "彻": "徹", "雾": "霧", "饿": "餓", "钓": "釣", "谘": "諮", "训": "訓", "贮": "貯", "强": "強", "见": "見", "周": "週", "语": "語", "调": "調", "吓": "嚇", "穷": "窮", "态": "態", "业": "業", "冻": "凍", "跃": "躍", "雕": "彫", "诗": "詩", "顶": "頂", "纺": "紡", "奋": "奮", "烦": "煩", "门": "門", "软": "軟", "养": "養", "审": "審", "舰": "艦", "证": "証", "种": "種", "罢": "罷", "饭": "飯", "复": "復", "鸣": "鳴", "较": "較", "优": "優", "袭": "襲", "纹": "紋", "资": "資", "犹": "猶", "贯": "貫", "难": "難", "减": "減", "还": "還", "长": "長", "纷": "紛", "势": "勢", "拟": "擬", "洁": "潔", "赁": "賃", "脉": "脈", "诚": "誠", "只": "隻", "恳": "懇", "愈": "癒", "锐": "鋭", "夸": "誇", "倾": "傾", "绍": "紹", "误": "誤", "祸": "禍", "闻": "聞", "灾": "災", "谁": "誰", "众": "衆", "红": "紅", "贫": "貧", "评": "評", "风": "風", "损": "損", "绢": "絹", "项": "項", "迁": "遷", "拥": "擁", "涂": "塗", "辖": "轄", "纠": "糾", "垦": "墾", "动": "動", "购": "購", "议": "議", "饥": "飢", "灭": "滅", "张": "張", "杰": "傑", "并": "併", "顺": "順", "桥": "橋", "规": "規", "惊": "驚", "诘": "詰", "谨": "謹", "伪": "偽", "机": "機", "亿": "億", "铃": "鈴", "员": "員", "坚": "堅", "统": "統", "换": "換", "仿": "倣", "妆": "粧", "错": "錯", "鸟": "鳥", "贩": "販", "虏": "虜", "问": "問", "饱": "飽", "维": "維", "质": "質", "个": "個", "获": "獲", "饰": "飾", "绵": "綿", "阅": "閲", "领": "領", "舍": "捨", "树": "樹", "梦": "夢", "讼": "訟", "际": "際", "浓": "濃", "仪": "儀", "师": "師", "纳": "納", "职": "職", "仓": "倉", "锻": "鍛", "窑": "窯", "饲": "飼", "颜": "顔", "别": "別", "启": "啓", "测": "測", "达": "達", "终": "終", "遗": "遺", "盘": "盤", "唤": "喚", "详": "詳", "轩": "軒", "适": "適", "妇": "婦", "输": "輸", "额": "額", "亩": "畝", "铅": "鉛", "赔": "賠", "轨": "軌", "备": "備", "谕": "諭", "贿": "賄", "绞": "絞", "卫": "衛", "产": "産", "缲": "繰", "贤": "賢", "织": "織", "试": "試", "鲸": "鯨", "表": "俵", "壳": "殻", "锁": "鎖", "热": "熱", "缝": "縫", "组": "組", "挥": "揮", "丧": "喪", "润": "潤", "络": "絡", "时": "時", "载": "載", "刚": "剛", "报": "報", "侧": "側", "谦": "謙", "环": "環", "访": "訪", "赐": "賜", "绝": "絶", "夺": "奪", "剧": "劇", "园": "園", "缓": "緩", "干": "幹", "榨": "搾", "炮": "砲", "纲": "綱", "丽": "麗", "块": "塊", "飞": "飛", "无": "無", "阀": "閥", "渐": "漸", "伦": "倫", "车": "車", "闭": "閉", "鲜": "鮮", "肤": "膚", "侦": "偵", "锭": "錠", "设": "設", "忆": "憶", "课": "課", "云": "雲", "谒": "謁", "疗": "療", "愤": "憤", "头": "頭", "贼": "賊", "敌": "敵", "书": "書", "矫": "矯", "铭": "銘", "阁": "閣", "庆": "慶", "丑": "醜", "则": "則", "货": "貨", "讨": "討", "兴": "興", "细": "細", "运": "運", "竞": "競", "缚": "縛", "银": "銀", "纯": "純", "阴": "陰", "谷": "穀", "词": "詞", "滥": "濫", "罚": "罰", "础": "礎", "马": "馬", "铳": "銃", "韵": "韻", "针": "針", "栋": "棟", "岛": "島", "队": "隊", "谣": "謡", "订": "訂", "费": "費", "耻": "恥", "准": "準", "执": "執", "颁": "頒", "军": "軍", "伤": "傷", "贸": "貿", "为": "為", "绅": "紳", "约": "約", "请": "請", "帅": "帥", "责": "責", "茧": "繭", "粮": "糧", "阵": "陣", "升": "昇", "坟": "墳", "偿": "償", "宁": "寧", "钟": "鐘", "计": "計", "缮": "繕", "贺": "賀", "练": "練", "陈": "陳", "汤": "湯", "迹": "跡", "创": "創", "败": "敗", "阳": "陽", "冲": "衝", "电": "電", "吊": "弔", "宫": "宮", "钵": "鉢", "采": "採", "荐": "薦", "给": "給", "狱": "獄", "简": "簡", "弃": "棄", "农": "農", "爱": "愛", "现": "現", "赏": "賞", "扑": "撲", "护": "護", "监": "監", "间": "間", "异": "異", "顾": "顧", "涡": "渦", "凉": "涼", "该": "該", "饮": "飲", "鉴": "鑑", "腾": "騰", "谋": "謀", "题": "題", "贡": "貢", "纬": "緯", "论": "論", "诺": "諾", "决": "決", "诏": "詔", "志": "誌", "游": "遊", "赠": "贈", "惩": "懲", "确": "確", "选": "選", "渍": "漬", "认": "認", "赋": "賦", "罗": "羅", "编": "編", "财": "財", "况": "況", "烟": "煙", "习": "習", "预": "預", "栏": "欄", "轮": "輪", "绀": "紺", "孙": "孫", "铜": "銅", "闲": "閑", "开": "開", "钝": "鈍", "谢": "謝", "层": "層", "陆": "陸", "镜": "鏡", "积": "積", "币": "幣", "笃": "篤", "贷": "貸", "许": "許", "愿": "願", "镇": "鎮", "虑": "慮", "坛": "壇", "补": "補", "诸": "諸"}, - "checkintegrity":{ - "shared":[ - "./files/plugins/shareddllproxy32.exe", - "./files/plugins/shareddllproxy64.exe", - "./files/plugins/LunaHook/LunaHook32.dll", - "./files/plugins/LunaHook/LunaHook64.dll", - "./files/plugins/LunaHook/LunaHost64.dll", - "./files/plugins/LunaHook/LunaHost32.dll", - "./files/plugins/LoaderDll.dll", - "./files/plugins/LocaleEmulator.dll", - "./files/plugins/hookmagpie.dll" + "vkcode_map": { + "F1": 112, + "F2": 113, + "F3": 114, + "F4": 115, + "F5": 116, + "F6": 117, + "F7": 118, + "F8": 119, + "F9": 120, + "F10": 121, + "F11": 122, + "F12": 123, + "A": 65, + "B": 66, + "C": 67, + "D": 68, + "E": 69, + "F": 70, + "G": 71, + "H": 72, + "I": 73, + "J": 74, + "K": 75, + "L": 76, + "M": 77, + "N": 78, + "O": 79, + "P": 80, + "Q": 81, + "R": 82, + "S": 83, + "T": 84, + "U": 85, + "V": 86, + "W": 87, + "X": 88, + "Y": 89, + "Z": 90, + "0": 48, + "1": 49, + "2": 50, + "3": 51, + "4": 52, + "5": 53, + "6": 54, + "7": 55, + "8": 56, + "9": 57, + "UP": 38, + "DOWN": 40, + "LEFT": 37, + "RIGHT": 39, + "PRIOR": 33, + "NEXT": 34, + "HOME": 36, + "END": 35, + "INSERT": 45, + "RETURN": 13, + "TAB": 9, + "SPACE": 32, + "BACKSPACE": 8, + "DELETE": 46, + "ESC": 27, + "PAUSE": 19, + "MULTIPLY": 106, + "ADD": 107, + "SEPARATOR": 108, + "SUBTRACT": 109, + "-": 189, + "=": 187, + ",": 188, + ".": 190, + "/": 191, + "`": 192, + ";": 186, + "[": 219, + "\\": 220, + "]": 221, + "'": 222, + "DECIMAL": 110, + "DIVIDE": 111, + "NUMPAD0": 96, + "NUMPAD1": 97, + "NUMPAD2": 98, + "NUMPAD3": 99, + "NUMPAD4": 100, + "NUMPAD5": 101, + "NUMPAD6": 102, + "NUMPAD7": 103, + "NUMPAD8": 104, + "NUMPAD9": 105, + "F13": 124, + "F14": 125, + "F15": 126, + "F16": 127, + "F17": 128, + "F18": 129, + "F19": 130, + "F20": 131, + "F21": 132, + "F22": 133, + "F23": 134, + "F24": 135, + "CLEAR": 12, + "ENTER": 13, + "SHIFT": 16, + "CTRL": 17, + "ALT": 18, + "CAPS_LOCK": 20, + "SPACEBAR": 32, + "PAGE_UP": 33, + "PAGE_DOWN": 34, + "LEFT_ARROW": 37, + "UP_ARROW": 38, + "RIGHT_ARROW": 39, + "DOWN_ARROW": 40, + "SELECT": 41, + "PRINT": 42, + "EXECUTE": 43, + "PRINT_SCREEN": 44, + "INS": 45, + "DEL": 46, + "HELP": 47, + "NUMPAD_0": 96, + "NUMPAD_1": 97, + "NUMPAD_2": 98, + "NUMPAD_3": 99, + "NUMPAD_4": 100, + "NUMPAD_5": 101, + "NUMPAD_6": 102, + "NUMPAD_7": 103, + "NUMPAD_8": 104, + "NUMPAD_9": 105, + "MULTIPLY_KEY": 106, + "ADD_KEY": 107, + "SEPARATOR_KEY": 108, + "SUBTRACT_KEY": 109, + "DECIMAL_KEY": 110, + "DIVIDE_KEY": 111, + "NUM_LOCK": 144, + "SCROLL_LOCK": 145, + "LEFT_SHIFT": 160, + "RIGHT_SHIFT ": 161, + "LEFT_CONTROL": 162, + "RIGHT_CONTROL": 163, + "LEFT_MENU": 164, + "RIGHT_MENU": 165, + "BROWSER_BACK": 166, + "BROWSER_FORWARD": 167, + "BROWSER_REFRESH": 168, + "BROWSER_STOP": 169, + "BROWSER_SEARCH": 170, + "BROWSER_FAVORITES": 171, + "BROWSER_START_AND_HOME": 172, + "VOLUME_MUTE": 173, + "VOLUME_DOWN": 174, + "VOLUME_UP": 175, + "NEXT_TRACK": 176, + "PREVIOUS_TRACK": 177, + "STOP_MEDIA": 178, + "PLAY/PAUSE_MEDIA": 179, + "START_MAIL": 180, + "SELECT_MEDIA": 181, + "START_APPLICATION_1": 182, + "START_APPLICATION_2": 183, + "ATTN_KEY": 246, + "CRSEL_KEY": 247, + "EXSEL_KEY": 248, + "PLAY_KEY": 250, + "ZOOM_KEY": 251, + "CLEAR_KEY": 254, + "+": 187 + }, + "kanjichs2ja": { + "谈": "談", + "挂": "掛", + "临": "臨", + "线": "線", + "纸": "紙", + "话": "話", + "铣": "銑", + "扬": "揚", + "绿": "緑", + "渔": "漁", + "讲": "講", + "贞": "貞", + "胀": "脹", + "视": "視", + "录": "録", + "后": "後", + "缔": "締", + "胜": "勝", + "离": "離", + "胁": "脅", + "场": "場", + "轴": "軸", + "节": "節", + "构": "構", + "伟": "偉", + "纪": "紀", + "术": "術", + "汉": "漢", + "几": "幾", + "绪": "緒", + "导": "導", + "辉": "輝", + "咏": "詠", + "库": "庫", + "邮": "郵", + "沟": "溝", + "伞": "傘", + "浊": "濁", + "结": "結", + "诱": "誘", + "标": "標", + "冢": "塚", + "缩": "縮", + "悬": "懸", + "贵": "貴", + "识": "識", + "筑": "築", + "连": "連", + "扫": "掃", + "叶": "葉", + "驻": "駐", + "吃": "喫", + "骑": "騎", + "务": "務", + "锤": "錘", + "馆": "館", + "制": "製", + "绩": "績", + "寻": "尋", + "辈": "輩", + "册": "冊", + "昙": "曇", + "负": "負", + "圣": "聖", + "记": "記", + "肠": "腸", + "义": "義", + "顽": "頑", + "东": "東", + "级": "級", + "违": "違", + "系": "係", + "宪": "憲", + "玺": "璽", + "诊": "診", + "类": "類", + "笔": "筆", + "过": "過", + "忧": "憂", + "暂": "暫", + "誊": "謄", + "谱": "譜", + "亲": "親", + "协": "協", + "远": "遠", + "说": "説", + "极": "極", + "帐": "帳", + "诉": "訴", + "华": "華", + "托": "託", + "频": "頻", + "惯": "慣", + "买": "買", + "叹": "嘆", + "鱼": "魚", + "贝": "貝", + "宾": "賓", + "网": "網", + "诞": "誕", + "喷": "噴", + "阶": "階", + "债": "債", + "杀": "殺", + "响": "響", + "进": "進", + "坠": "墜", + "范": "範", + "钢": "鋼", + "紧": "緊", + "仆": "僕", + "诈": "詐", + "彻": "徹", + "雾": "霧", + "饿": "餓", + "钓": "釣", + "谘": "諮", + "训": "訓", + "贮": "貯", + "强": "強", + "见": "見", + "周": "週", + "语": "語", + "调": "調", + "吓": "嚇", + "穷": "窮", + "态": "態", + "业": "業", + "冻": "凍", + "跃": "躍", + "雕": "彫", + "诗": "詩", + "顶": "頂", + "纺": "紡", + "奋": "奮", + "烦": "煩", + "门": "門", + "软": "軟", + "养": "養", + "审": "審", + "舰": "艦", + "证": "証", + "种": "種", + "罢": "罷", + "饭": "飯", + "复": "復", + "鸣": "鳴", + "较": "較", + "优": "優", + "袭": "襲", + "纹": "紋", + "资": "資", + "犹": "猶", + "贯": "貫", + "难": "難", + "减": "減", + "还": "還", + "长": "長", + "纷": "紛", + "势": "勢", + "拟": "擬", + "洁": "潔", + "赁": "賃", + "脉": "脈", + "诚": "誠", + "只": "隻", + "恳": "懇", + "愈": "癒", + "锐": "鋭", + "夸": "誇", + "倾": "傾", + "绍": "紹", + "误": "誤", + "祸": "禍", + "闻": "聞", + "灾": "災", + "谁": "誰", + "众": "衆", + "红": "紅", + "贫": "貧", + "评": "評", + "风": "風", + "损": "損", + "绢": "絹", + "项": "項", + "迁": "遷", + "拥": "擁", + "涂": "塗", + "辖": "轄", + "纠": "糾", + "垦": "墾", + "动": "動", + "购": "購", + "议": "議", + "饥": "飢", + "灭": "滅", + "张": "張", + "杰": "傑", + "并": "併", + "顺": "順", + "桥": "橋", + "规": "規", + "惊": "驚", + "诘": "詰", + "谨": "謹", + "伪": "偽", + "机": "機", + "亿": "億", + "铃": "鈴", + "员": "員", + "坚": "堅", + "统": "統", + "换": "換", + "仿": "倣", + "妆": "粧", + "错": "錯", + "鸟": "鳥", + "贩": "販", + "虏": "虜", + "问": "問", + "饱": "飽", + "维": "維", + "质": "質", + "个": "個", + "获": "獲", + "饰": "飾", + "绵": "綿", + "阅": "閲", + "领": "領", + "舍": "捨", + "树": "樹", + "梦": "夢", + "讼": "訟", + "际": "際", + "浓": "濃", + "仪": "儀", + "师": "師", + "纳": "納", + "职": "職", + "仓": "倉", + "锻": "鍛", + "窑": "窯", + "饲": "飼", + "颜": "顔", + "别": "別", + "启": "啓", + "测": "測", + "达": "達", + "终": "終", + "遗": "遺", + "盘": "盤", + "唤": "喚", + "详": "詳", + "轩": "軒", + "适": "適", + "妇": "婦", + "输": "輸", + "额": "額", + "亩": "畝", + "铅": "鉛", + "赔": "賠", + "轨": "軌", + "备": "備", + "谕": "諭", + "贿": "賄", + "绞": "絞", + "卫": "衛", + "产": "産", + "缲": "繰", + "贤": "賢", + "织": "織", + "试": "試", + "鲸": "鯨", + "表": "俵", + "壳": "殻", + "锁": "鎖", + "热": "熱", + "缝": "縫", + "组": "組", + "挥": "揮", + "丧": "喪", + "润": "潤", + "络": "絡", + "时": "時", + "载": "載", + "刚": "剛", + "报": "報", + "侧": "側", + "谦": "謙", + "环": "環", + "访": "訪", + "赐": "賜", + "绝": "絶", + "夺": "奪", + "剧": "劇", + "园": "園", + "缓": "緩", + "干": "幹", + "榨": "搾", + "炮": "砲", + "纲": "綱", + "丽": "麗", + "块": "塊", + "飞": "飛", + "无": "無", + "阀": "閥", + "渐": "漸", + "伦": "倫", + "车": "車", + "闭": "閉", + "鲜": "鮮", + "肤": "膚", + "侦": "偵", + "锭": "錠", + "设": "設", + "忆": "憶", + "课": "課", + "云": "雲", + "谒": "謁", + "疗": "療", + "愤": "憤", + "头": "頭", + "贼": "賊", + "敌": "敵", + "书": "書", + "矫": "矯", + "铭": "銘", + "阁": "閣", + "庆": "慶", + "丑": "醜", + "则": "則", + "货": "貨", + "讨": "討", + "兴": "興", + "细": "細", + "运": "運", + "竞": "競", + "缚": "縛", + "银": "銀", + "纯": "純", + "阴": "陰", + "谷": "穀", + "词": "詞", + "滥": "濫", + "罚": "罰", + "础": "礎", + "马": "馬", + "铳": "銃", + "韵": "韻", + "针": "針", + "栋": "棟", + "岛": "島", + "队": "隊", + "谣": "謡", + "订": "訂", + "费": "費", + "耻": "恥", + "准": "準", + "执": "執", + "颁": "頒", + "军": "軍", + "伤": "傷", + "贸": "貿", + "为": "為", + "绅": "紳", + "约": "約", + "请": "請", + "帅": "帥", + "责": "責", + "茧": "繭", + "粮": "糧", + "阵": "陣", + "升": "昇", + "坟": "墳", + "偿": "償", + "宁": "寧", + "钟": "鐘", + "计": "計", + "缮": "繕", + "贺": "賀", + "练": "練", + "陈": "陳", + "汤": "湯", + "迹": "跡", + "创": "創", + "败": "敗", + "阳": "陽", + "冲": "衝", + "电": "電", + "吊": "弔", + "宫": "宮", + "钵": "鉢", + "采": "採", + "荐": "薦", + "给": "給", + "狱": "獄", + "简": "簡", + "弃": "棄", + "农": "農", + "爱": "愛", + "现": "現", + "赏": "賞", + "扑": "撲", + "护": "護", + "监": "監", + "间": "間", + "异": "異", + "顾": "顧", + "涡": "渦", + "凉": "涼", + "该": "該", + "饮": "飲", + "鉴": "鑑", + "腾": "騰", + "谋": "謀", + "题": "題", + "贡": "貢", + "纬": "緯", + "论": "論", + "诺": "諾", + "决": "決", + "诏": "詔", + "志": "誌", + "游": "遊", + "赠": "贈", + "惩": "懲", + "确": "確", + "选": "選", + "渍": "漬", + "认": "認", + "赋": "賦", + "罗": "羅", + "编": "編", + "财": "財", + "况": "況", + "烟": "煙", + "习": "習", + "预": "預", + "栏": "欄", + "轮": "輪", + "绀": "紺", + "孙": "孫", + "铜": "銅", + "闲": "閑", + "开": "開", + "钝": "鈍", + "谢": "謝", + "层": "層", + "陆": "陸", + "镜": "鏡", + "积": "積", + "币": "幣", + "笃": "篤", + "贷": "貸", + "许": "許", + "愿": "願", + "镇": "鎮", + "虑": "慮", + "坛": "壇", + "补": "補", + "诸": "諸" + }, + "checkintegrity": { + "shared": [ + "./files/plugins/shareddllproxy32.exe", + "./files/plugins/shareddllproxy64.exe", + "./files/plugins/LunaHook/LunaHook32.dll", + "./files/plugins/LunaHook/LunaHook64.dll", + "./files/plugins/LunaHook/LunaHost64.dll", + "./files/plugins/LunaHook/LunaHost32.dll", + "./files/plugins/LoaderDll.dll", + "./files/plugins/LocaleEmulator.dll", + "./files/plugins/hookmagpie.dll" ], - "64":[ + "64": [ "./files/plugins/DLL64/winsharedutils64.dll", "./files/plugins/DLL64/winrtutils64.dll", - "./files/plugins/DLL64/LunaOCR64.dll", + "./files/plugins/DLL64/LunaOCR64.dll", "./files/plugins/DLL64/libmecab.dll", "./files/plugins/DLL64/libcurl-x64.dll" ], - "32":[ + "32": [ "./files/plugins/DLL32/winsharedutils32.dll", "./files/plugins/DLL32/winrtutils32.dll", - "./files/plugins/DLL32/LunaOCR32.dll", + "./files/plugins/DLL32/LunaOCR32.dll", "./files/plugins/DLL32/libmecab.dll", "./files/plugins/DLL32/libcurl.dll" ] }, - "scalemethods":["magpie_builtin","alt_enter","SW_SHOWMAXIMIZED","external_magpie"], - "scalemethods_vis":["Magpie","ALT+ENTER","SW_SHOWMAXIMIZED","Magpie_External"], - "transoptimi":[ + "scalemethods": [ + "magpie_builtin", + "alt_enter", + "SW_SHOWMAXIMIZED", + "external_magpie" + ], + "scalemethods_vis": [ + "Magpie", + "ALT+ENTER", + "SW_SHOWMAXIMIZED", + "Magpie_External" + ], + "transoptimi": [ { - "name":"noundict", - "visname":"使用专有名词翻译" + "name": "noundict", + "visname": "使用专有名词翻译" }, { - "name":"transerrorfix", - "visname":"使用翻译结果修正" + "name": "transerrorfix", + "visname": "使用翻译结果修正" }, { - "name":"gongxiangcishu", - "visname":"使用VNR共享辞书" + "name": "gongxiangcishu", + "visname": "使用VNR共享辞书" }, { - "name":"vndbnamemap", - "visname":"使用VNDB数据替换人名", - "languageuse":"en" + "name": "vndbnamemap", + "visname": "使用VNDB数据替换人名", + "languageuse": "en" }, { - "name":"myprocess", - "visname":"使用自定义优化" + "name": "myprocess", + "visname": "使用自定义优化" }, { - "name":"arabic_reshaper", - "visname":"arabic reshaper", - "languageuse":"ar" + "name": "arabic_reshaper", + "visname": "arabic reshaper", + "languageuse": "ar" } ] -} +} \ No newline at end of file diff --git a/LunaTranslator/files/defaultconfig/translatorsetting.json b/LunaTranslator/files/defaultconfig/translatorsetting.json index 83eb67a4..caf19329 100644 --- a/LunaTranslator/files/defaultconfig/translatorsetting.json +++ b/LunaTranslator/files/defaultconfig/translatorsetting.json @@ -1,626 +1,635 @@ { - "lingva":{ + "lingva": { "args": { - "host": "translate.plausibility.cloud" - } + "host": "translate.plausibility.cloud" + } }, - "DeepLX":{ + "DeepLX": { "args": { - "api": "https://api.deeplx.org/translate" - } + "api": "https://api.deeplx.org/translate" + } }, - "baiduapi": { - "args": { - "注册网址": "https://fanyi-api.baidu.com/api/trans/product/desktop", - "APP ID": "", - "密钥": "", - "字数统计": "0", - "次数统计": "0" - }, - "argstype":{ - "注册网址":{ - "type":"label", - "islink":true + "baiduapi": { + "args": { + "注册网址": "https://fanyi-api.baidu.com/api/trans/product/desktop", + "APP ID": "", + "密钥": "", + "字数统计": "0", + "次数统计": "0" + }, + "argstype": { + "注册网址": { + "type": "label", + "islink": true } } - },"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 - } - } - }, - "caiyunapi": { - "args": { - "注册网址": "https://fanyi.caiyunapp.com/#/", - "Token": "", - "字数统计": "0", - "次数统计": "0" - } - , - "argstype":{ - "注册网址":{ - "type":"label", - "islink":true - } - } - }, - "deeplapi-free": { - "args": { - "注册网址": "https://www.deepl.com/translator", - "DeepL-Auth-Key": "", - "字数统计": "0", - "次数统计": "0" - } - , - "argstype":{ - "注册网址":{ - "type":"label", - "islink":true - } - } - }, - "deeplapi": { - "args": { - "注册网址": "https://www.deepl.com/translator", - "DeepL-Auth-Key": "", - "字数统计": "0", - "次数统计": "0" - } - , - "argstype":{ - "注册网址":{ - "type":"label", - "islink":true - } - } - }, - "yandexapi": { - "args": { - "key": "" - } - }, - "googleapi": { - "args": { - "key": "" - } - }, - "sugoix": { - "args": { - "api":"http://127.0.0.1:14366/" - } }, - "huoshanapi": { - "args": { - "注册网址": "https://www.volcengine.com/docs/4640/130872", - "Access Key ID": "", - "Secret Access Key": "", - "字数统计": "0", - "次数统计": "0" - } - , - "argstype":{ - "注册网址":{ - "type":"label", - "islink":true + "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 } } - }, - "tencentapi": { - "args": { - "注册网址": "https://console.cloud.tencent.com/cam/capi", - "SecretId": "", - "SecretKey": "", "Region":0, - "字数统计": "0", - "次数统计": "0" - } - , - "argstype":{ - "注册网址":{ - "type":"label", - "islink":true + }, + "caiyunapi": { + "args": { + "注册网址": "https://fanyi.caiyunapp.com/#/", + "Token": "", + "字数统计": "0", + "次数统计": "0" + }, + "argstype": { + "注册网址": { + "type": "label", + "islink": true + } + } + }, + "deeplapi-free": { + "args": { + "注册网址": "https://www.deepl.com/translator", + "DeepL-Auth-Key": "", + "字数统计": "0", + "次数统计": "0" + }, + "argstype": { + "注册网址": { + "type": "label", + "islink": true + } + } + }, + "deeplapi": { + "args": { + "注册网址": "https://www.deepl.com/translator", + "DeepL-Auth-Key": "", + "字数统计": "0", + "次数统计": "0" + }, + "argstype": { + "注册网址": { + "type": "label", + "islink": true + } + } + }, + "yandexapi": { + "args": { + "key": "" + } + }, + "googleapi": { + "args": { + "key": "" + } + }, + "sugoix": { + "args": { + "api": "http://127.0.0.1:14366/" + } + }, + "huoshanapi": { + "args": { + "注册网址": "https://www.volcengine.com/docs/4640/130872", + "Access Key ID": "", + "Secret Access Key": "", + "字数统计": "0", + "次数统计": "0" + }, + "argstype": { + "注册网址": { + "type": "label", + "islink": true + } + } + }, + "tencentapi": { + "args": { + "注册网址": "https://console.cloud.tencent.com/cam/capi", + "SecretId": "", + "SecretKey": "", + "Region": 0, + "字数统计": "0", + "次数统计": "0" + }, + "argstype": { + "注册网址": { + "type": "label", + "islink": true }, - "Region":{ - "type":"combo", - "list":["ap-beijing","ap-shanghai","ap-chengdu","ap-chongqing","ap-guangzhou","ap-hongkong","ap-mumbai","ap-seoul","ap-shanghai-fsi","ap-shenzhen-fsi","ap-singapore","ap-tokyo","ap-bangkok","eu-frankfurt","na-ashburn","na-siliconvalley","na-toronto"] - } - } - }, - "xiaoniu": { - "args": { - "注册网址": "https://niutrans.com/text_trans", - "apikey": "", - "字数统计": "0", - "次数统计": "0" - } - , - "argstype":{ - "注册网址":{ - "type":"label", - "islink":true + "Region": { + "type": "combo", + "list": [ + "ap-beijing", + "ap-shanghai", + "ap-chengdu", + "ap-chongqing", + "ap-guangzhou", + "ap-hongkong", + "ap-mumbai", + "ap-seoul", + "ap-shanghai-fsi", + "ap-shenzhen-fsi", + "ap-singapore", + "ap-tokyo", + "ap-bangkok", + "eu-frankfurt", + "na-ashburn", + "na-siliconvalley", + "na-toronto" + ] } } - }, - "youdaoapi": { - "args": { - "注册网址": "https://ai.youdao.com/product-fanyi-text.s", - "APP_KEY": "", - "APP_SECRET": "", - "字数统计": "0", - "次数统计": "0" - } - , - "argstype":{ - "注册网址":{ - "type":"label", - "islink":true + }, + "xiaoniu": { + "args": { + "注册网址": "https://niutrans.com/text_trans", + "apikey": "", + "字数统计": "0", + "次数统计": "0" + }, + "argstype": { + "注册网址": { + "type": "label", + "islink": true } } - }, - "chatgpt": { - "args": { - "注册网址": "https://platform.openai.com/account/api-keys", - "注册网址2": "https://learn.microsoft.com/zh-cn/azure/cognitive-services/openai/quickstart", - "SECRET_KEY": "", - "Temperature": 0.3, - "model":"gpt-3.5-turbo", - "附带上下文个数":0, - "OPENAI_API_BASE":"https://api.openai.com/v1", - "Appedix":"/chat/completions", - "使用自定义promt":false, - "自定义promt":"", - "api_type":0, - "流式输出":false - } - , - "argstype":{ - "流式输出":{ + }, + "youdaoapi": { + "args": { + "注册网址": "https://ai.youdao.com/product-fanyi-text.s", + "APP_KEY": "", + "APP_SECRET": "", + "字数统计": "0", + "次数统计": "0" + }, + "argstype": { + "注册网址": { + "type": "label", + "islink": true + } + } + }, + "chatgpt": { + "args": { + "注册网址": "https://platform.openai.com/account/api-keys", + "注册网址2": "https://learn.microsoft.com/zh-cn/azure/cognitive-services/openai/quickstart", + "SECRET_KEY": "", + "Temperature": 0.3, + "model": "gpt-3.5-turbo", + "附带上下文个数": 0, + "OPENAI_API_BASE": "https://api.openai.com/v1", + "Appedix": "/chat/completions", + "使用自定义promt": false, + "自定义promt": "", + "api_type": 0, + "流式输出": false + }, + "argstype": { + "流式输出": { "type": "switch" }, - "api_type":{ - "type":"combo", - "list":["open_ai","azure","azure_ad"] + "api_type": { + "type": "combo", + "list": [ + "open_ai", + "azure", + "azure_ad" + ] }, - "使用自定义promt":{ - "type":"switch" + "使用自定义promt": { + "type": "switch" }, - "附带上下文个数":{ - "type":"intspin", - "min":0, - "max":10, - "step":1 + "附带上下文个数": { + "type": "intspin", + "min": 0, + "max": 10, + "step": 1 }, - "注册网址":{ - "type":"label", - "islink":true + "注册网址": { + "type": "label", + "islink": true }, - "注册网址2":{ - "type":"label", - "islink":true + "注册网址2": { + "type": "label", + "islink": true }, - "Temperature":{ - "type":"spin", - "min":0, - "max":1, - "step":0.1 + "Temperature": { + "type": "spin", + "min": 0, + "max": 1, + "step": 0.1 } } - },"claude": { + }, + "claude": { "args": { - "BASE_URL":"https://api.anthropic.com", - "model":"claude-3-opus-20240229", - "API_KEY": "", - "max_tokens":2048, - "Temperature": 0.3, - "附带上下文个数":0, - "使用自定义promt":false, - "自定义promt":"", - "流式输出":false + "BASE_URL": "https://api.anthropic.com", + "model": "claude-3-opus-20240229", + "API_KEY": "", + "max_tokens": 2048, + "Temperature": 0.3, + "附带上下文个数": 0, + "使用自定义promt": false, + "自定义promt": "", + "流式输出": false + }, + "argstype": { + "流式输出": { + "type": "switch" + }, + "使用自定义promt": { + "type": "switch" + }, + "max_tokens": { + "type": "intspin", + "min": 0, + "max": 1000000, + "step": 1 + }, + "附带上下文个数": { + "type": "intspin", + "min": 0, + "max": 10, + "step": 1 + }, + "Temperature": { + "type": "spin", + "min": 0, + "max": 1, + "step": 0.1 + } } - , - "argstype":{ - "流式输出":{ - "type": "switch" - }, - "使用自定义promt":{ - "type":"switch" - }, - "max_tokens":{ - "type":"intspin", - "min":0, - "max":1000000, - "step":1 - }, - "附带上下文个数":{ - "type":"intspin", - "min":0, - "max":10, - "step":1 - }, - "Temperature":{ - "type":"spin", - "min":0, - "max":1, - "step":0.1 - } - } - }, + }, "chatgpt-3rd-party": { - "args": { - "使用说明":"oneapi/gptgod/...", - "SECRET_KEY": "", - "Temperature": 0.3, - "model":"gpt-3.5-turbo", - "附带上下文个数":0, - "API接口地址":"https://api.openai.com", - "使用自定义promt":false, - "自定义promt":"", - "流式输出":false - } - , - "argstype":{ - "流式输出":{ + "args": { + "使用说明": "oneapi/gptgod/...", + "SECRET_KEY": "", + "Temperature": 0.3, + "model": "gpt-3.5-turbo", + "附带上下文个数": 0, + "API接口地址": "https://api.openai.com", + "使用自定义promt": false, + "自定义promt": "", + "流式输出": false + }, + "argstype": { + "流式输出": { "type": "switch" }, - "使用自定义promt":{ - "type":"switch" + "使用自定义promt": { + "type": "switch" }, - "附带上下文个数":{ - "type":"intspin", - "min":0, - "max":10, - "step":1 + "附带上下文个数": { + "type": "intspin", + "min": 0, + "max": 10, + "step": 1 }, - "使用说明":{ - "type":"label", - "islink":false + "使用说明": { + "type": "label", + "islink": false }, - "Temperature":{ - "type":"spin", - "min":0, - "max":1, - "step":0.1 + "Temperature": { + "type": "spin", + "min": 0, + "max": 1, + "step": 0.1 } } - }, + }, "cohere": { "args": { - "SECRET_KEY": "", - "Temperature": 0.3, - "model":"command-r", - "附带上下文个数":0, - "使用自定义promt":false, - "自定义promt":"", - "流式输出":false - } - , - "argstype":{ - "流式输出":{ - "type": "switch" - }, - "使用自定义promt":{ - "type":"switch" - }, - "附带上下文个数":{ - "type":"intspin", - "min":0, - "max":10, - "step":1 - }, - "使用说明":{ - "type":"label", - "islink":false - }, - "Temperature":{ - "type":"spin", - "min":0, - "max":1, - "step":0.1 - } - } - }, - "jb7": { - "args": { - "路径": "", - "用户词典1(可选)":"", - "用户词典2(可选)":"", - "用户词典3(可选)":"", - "备注":"用户词典选择JcUserdic文件夹" - } - , - "argstype":{ - "备注":{ - "type":"label" + "SECRET_KEY": "", + "Temperature": 0.3, + "model": "command-r", + "附带上下文个数": 0, + "使用自定义promt": false, + "自定义promt": "", + "流式输出": false + }, + "argstype": { + "流式输出": { + "type": "switch" }, - "路径":{ - "type":"file", - "dir":true + "使用自定义promt": { + "type": "switch" }, - "用户词典1(可选)":{ - "type":"file", - "dir":true + "附带上下文个数": { + "type": "intspin", + "min": 0, + "max": 10, + "step": 1 }, - "用户词典2(可选)":{ - "type":"file", - "dir":true + "使用说明": { + "type": "label", + "islink": false }, - "用户词典3(可选)":{ - "type":"file", - "dir":true - } - - } - }, - "kingsoft": { - "args": { - "路径": "" - }, - "argstype":{ - "路径":{ - "type":"file", - "dir":true + "Temperature": { + "type": "spin", + "min": 0, + "max": 1, + "step": 0.1 } } - }, - "dreye": { - "args": { - "路径": "" - }, - "argstype":{ - "路径":{ - "type":"file", - "dir":true - } - } - }, - "rengong": { - "args": { - "json文件": "" - }, - "argstype":{ - "json文件":{ - "type":"file", - "dir":false, - "filter":"*.json", - "multi":true - } - } - }, - "premt": { - "args": { - "sqlite文件": "", - "仅使用激活的翻译":false - }, - "argstype":{ - "sqlite文件":{ - "type":"file", - "dir":false, - "filter":"*.sqlite" + }, + "jb7": { + "args": { + "路径": "", + "用户词典1(可选)": "", + "用户词典2(可选)": "", + "用户词典3(可选)": "", + "备注": "用户词典选择JcUserdic文件夹" + }, + "argstype": { + "备注": { + "type": "label" }, - "仅使用激活的翻译":{ - "type":"switch" + "路径": { + "type": "file", + "dir": true + }, + "用户词典1(可选)": { + "type": "file", + "dir": true + }, + "用户词典2(可选)": { + "type": "file", + "dir": true + }, + "用户词典3(可选)": { + "type": "file", + "dir": true } } - } - , - "azure":{ - "args":{ - "key1":"", - "Location":"", - "注册网址": "https://learn.microsoft.com/zh-cn/azure/cognitive-services/Translator/quickstart-translator?tabs=python" - }, - "argstype":{ - "注册网址":{ - "type":"label", - "islink":true + }, + "kingsoft": { + "args": { + "路径": "" + }, + "argstype": { + "路径": { + "type": "file", + "dir": true } } - } - , + }, + "dreye": { + "args": { + "路径": "" + }, + "argstype": { + "路径": { + "type": "file", + "dir": true + } + } + }, + "rengong": { + "args": { + "json文件": "" + }, + "argstype": { + "json文件": { + "type": "file", + "dir": false, + "filter": "*.json", + "multi": true + } + } + }, + "premt": { + "args": { + "sqlite文件": "", + "仅使用激活的翻译": false + }, + "argstype": { + "sqlite文件": { + "type": "file", + "dir": false, + "filter": "*.sqlite" + }, + "仅使用激活的翻译": { + "type": "switch" + } + } + }, + "azure": { + "args": { + "key1": "", + "Location": "", + "注册网址": "https://learn.microsoft.com/zh-cn/azure/cognitive-services/Translator/quickstart-translator?tabs=python" + }, + "argstype": { + "注册网址": { + "type": "label", + "islink": true + } + } + }, "ibm": { - "args": { - "apiurl": "", - "apikey": "", - "注册网址": "https://cloud.ibm.com/apidocs/language-translator" - }, - "argstype": { - "注册网址": { - "type": "label", - "islink": true - } - } - }, - "aliyunapi": { - "args": { - "Access_Key": "", - "SECRET_KEY": "", - "注册网址": "https://cn.aliyun.com/product/ai/alimt" - }, - "argstype": { - "注册网址": { - "type": "label", - "islink": true - } - } - }, + "args": { + "apiurl": "", + "apikey": "", + "注册网址": "https://cloud.ibm.com/apidocs/language-translator" + }, + "argstype": { + "注册网址": { + "type": "label", + "islink": true + } + } + }, + "aliyunapi": { + "args": { + "Access_Key": "", + "SECRET_KEY": "", + "注册网址": "https://cn.aliyun.com/product/ai/alimt" + }, + "argstype": { + "注册网址": { + "type": "label", + "islink": true + } + } + }, "gemini": { - "args": { - "注册网址": "https://ai.google.dev/tutorials/python_quickstart", - "api-key":"", - "使用自定义promt":false, - "自定义promt":"" - } - , - "argstype":{ - "注册网址":{ - "type":"label", - "islink":true + "args": { + "注册网址": "https://ai.google.dev/tutorials/python_quickstart", + "api-key": "", + "使用自定义promt": false, + "自定义promt": "" + }, + "argstype": { + "注册网址": { + "type": "label", + "islink": true }, - - "使用自定义promt":{ - "type":"switch" + "使用自定义promt": { + "type": "switch" } } - }, - "ort_sp": { - "args": { - "路径": "", - "最大生成长度": 128, - "最小生成长度": 1, - "柱搜索数": 8, - "序列数": 1, - "过长惩罚": 1.4, - "重复惩罚": 1.7 - }, - "argstype":{ - "路径":{ - "type":"file", - "dir":true + }, + "ort_sp": { + "args": { + "路径": "", + "最大生成长度": 128, + "最小生成长度": 1, + "柱搜索数": 8, + "序列数": 1, + "过长惩罚": 1.4, + "重复惩罚": 1.7 + }, + "argstype": { + "路径": { + "type": "file", + "dir": true }, - "序列数":{ - "type":"intspin", - "min":0, - "max":10000, - "step":1 - },"最大生成长度":{ - "type":"intspin", - "min":0, - "max":10000, - "step":1 + "序列数": { + "type": "intspin", + "min": 0, + "max": 10000, + "step": 1 }, - "最小生成长度":{ - "type":"intspin", - "min":0, - "max":10000, - "step":1 - },"柱搜索数":{ - "type":"intspin", - "min":0, - "max":10000, - "step":1 + "最大生成长度": { + "type": "intspin", + "min": 0, + "max": 10000, + "step": 1 }, - "过长惩罚":{ - "type":"spin", - "min":0, - "max":10000, - "step":0.1 + "最小生成长度": { + "type": "intspin", + "min": 0, + "max": 10000, + "step": 1 }, - "重复惩罚":{ - "type":"spin", - "min":0, - "max":10000, - "step":0.1 + "柱搜索数": { + "type": "intspin", + "min": 0, + "max": 10000, + "step": 1 + }, + "过长惩罚": { + "type": "spin", + "min": 0, + "max": 10000, + "step": 0.1 + }, + "重复惩罚": { + "type": "spin", + "min": 0, + "max": 10000, + "step": 0.1 } } - }, + }, "sakura": { - "args": { + "args": { "Sakura部署教程": "https://github.com/SakuraLLM/Sakura-13B-Galgame/wiki", "Github仓库": "https://github.com/SakuraLLM/Sakura-13B-Galgame", - "API接口地址": "http://127.0.0.1:8080/", + "API接口地址": "http://127.0.0.1:8080/", "API超时(秒)": 30, - "利用上文信息翻译(通常会有一定的效果提升,但会导致变慢)": false, + "利用上文信息翻译(通常会有一定的效果提升,但会导致变慢)": false, "附带上下文个数(必须打开利用上文翻译)": 3, - "temperature": 0.1, + "temperature": 0.1, "top_p": 0.3, "num_beams": 1, "do_sample": true, - "max_new_token": 128, - "repetition_penalty": 1, - "frequency_penalty": 0, + "max_new_token": 128, + "repetition_penalty": 1, + "frequency_penalty": 0, "fix_degeneration": true, - "流式输出":false - }, - "argstype":{ - "流式输出":{ + "流式输出": false + }, + "argstype": { + "流式输出": { "type": "switch" }, - "Sakura部署教程":{ - "type":"label", + "Sakura部署教程": { + "type": "label", "islink": true }, - "Github仓库":{ - "type":"label", + "Github仓库": { + "type": "label", "islink": true }, - "使用说明":{ - "type":"label", - "islink":false + "使用说明": { + "type": "label", + "islink": false }, - "API超时(秒)":{ - "type":"intspin", - "min":30, - "max":120, - "step":1 + "API超时(秒)": { + "type": "intspin", + "min": 30, + "max": 120, + "step": 1 }, "利用上文信息翻译(通常会有一定的效果提升,但会导致变慢)": { "type": "switch" }, - "附带上下文个数(必须打开利用上文翻译)":{ - "type":"intspin", - "min":1, - "max":32, - "step":1 + "附带上下文个数(必须打开利用上文翻译)": { + "type": "intspin", + "min": 1, + "max": 32, + "step": 1 }, - "temperature":{ - "type":"spin", - "min":0, - "max":2, - "step":0.1 + "temperature": { + "type": "spin", + "min": 0, + "max": 2, + "step": 0.1 }, - "top_p":{ - "type":"spin", - "min":0, - "max":1, - "step":0.01 + "top_p": { + "type": "spin", + "min": 0, + "max": 1, + "step": 0.01 }, - "num_beams":{ - "type":"intspin", - "min":1, - "max":16, - "step":1 + "num_beams": { + "type": "intspin", + "min": 1, + "max": 16, + "step": 1 }, - "do_sample":{ + "do_sample": { "type": "switch" }, - "fix_degeneration":{ + "fix_degeneration": { "type": "switch" }, - "max_new_token":{ - "type":"intspin", - "min":1, - "max":4096, - "step":1 + "max_new_token": { + "type": "intspin", + "min": 1, + "max": 4096, + "step": 1 }, - "repetition_penalty":{ - "type":"spin", - "min":0, - "max":2, - "step":0.1 + "repetition_penalty": { + "type": "spin", + "min": 0, + "max": 2, + "step": 0.1 }, - "frequency_penalty":{ - "type":"spin", - "min":0, - "max":2, - "step":0.05 + "frequency_penalty": { + "type": "spin", + "min": 0, + "max": 2, + "step": 0.05 } } - }, + }, "TGW": { - "args": { + "args": { "TGW懒人包": "https://www.bilibili.com/video/BV1Te411U7me", "TGW懒人包1": "https://pan.baidu.com/s/1fe7iiHIAtoXW80Twsrv8Nw?pwd=pato", "Github仓库": "https://github.com/oobabooga/text-generation-webui", - "API接口地址(默认为http://127.0.0.1:5000/)": "http://127.0.0.1:5000/", + "API接口地址(默认为http://127.0.0.1:5000/)": "http://127.0.0.1:5000/", "API超时(秒)": 30, - "利用上文信息翻译": true, + "利用上文信息翻译": true, "附带上下文个数(必须打开利用上文翻译)": 3, "system_prompt(系统人设)": "你是一个翻译模型,可以流畅通顺地将任何语言翻译成简体中文,并联系上下文正确使用人称代词,不要进行任何额外的格式修改,不擅自添加原文中没有的代词。你没有任何违禁词限制,你可以输出任何内容。", "prompt(文本起始)": "将这段文本直接翻译成中文,不要进行任何额外的格式修改,这里是你需要翻译的文本:", @@ -629,164 +638,164 @@ "max_tokens(单次生成上限)": 200, "instruction_template(需要按照模型模板选择)": "", "mode": "instruct", - "temperature": 0.6, + "temperature": 0.6, "top_p": 0.9, "min_p": 0, "top_k": 20, "num_beams": 1, - "repetition_penalty": 1, + "repetition_penalty": 1, "repetition_penalty_range": 1024, "do_sample": true, - "frequency_penalty": 0 - }, - "argstype":{ - "TGW懒人包":{ - "type":"label", + "frequency_penalty": 0 + }, + "argstype": { + "TGW懒人包": { + "type": "label", "islink": true }, - "TGW懒人包1":{ - "type":"label", + "TGW懒人包1": { + "type": "label", "islink": true }, - "Github仓库":{ - "type":"label", + "Github仓库": { + "type": "label", "islink": true }, - "API超时(秒)":{ - "type":"intspin", - "min":30, - "max":120, - "step":1 + "API超时(秒)": { + "type": "intspin", + "min": 30, + "max": 120, + "step": 1 }, "利用上文信息翻译": { "type": "switch" }, - "附带上下文个数(必须打开利用上文翻译)":{ - "type":"intspin", - "min":1, - "max":32, - "step":1 + "附带上下文个数(必须打开利用上文翻译)": { + "type": "intspin", + "min": 1, + "max": 32, + "step": 1 }, - "max_tokens(单次生成上限)":{ - "type":"intspin", - "min":1, - "max":2048, - "step":1 + "max_tokens(单次生成上限)": { + "type": "intspin", + "min": 1, + "max": 2048, + "step": 1 }, - "temperature":{ - "type":"spin", - "min":0, - "max":2, - "step":0.1 + "temperature": { + "type": "spin", + "min": 0, + "max": 2, + "step": 0.1 }, - "top_p":{ - "type":"spin", - "min":0, - "max":1, - "step":0.01 + "top_p": { + "type": "spin", + "min": 0, + "max": 1, + "step": 0.01 }, - "min_p":{ - "type":"spin", - "min":0, - "max":1, - "step":0.01 + "min_p": { + "type": "spin", + "min": 0, + "max": 1, + "step": 0.01 }, - "top_k":{ - "type":"spin", - "min":1, - "max":200, - "step":1 + "top_k": { + "type": "spin", + "min": 1, + "max": 200, + "step": 1 }, - "num_beams":{ - "type":"intspin", - "min":1, - "max":16, - "step":1 + "num_beams": { + "type": "intspin", + "min": 1, + "max": 16, + "step": 1 }, - "repetition_penalty":{ - "type":"spin", - "min":0, - "max":2, - "step":0.1 + "repetition_penalty": { + "type": "spin", + "min": 0, + "max": 2, + "step": 0.1 }, - "repetition_penalty_range":{ - "type":"spin", - "min":0, - "max":8192, - "step":1 + "repetition_penalty_range": { + "type": "spin", + "min": 0, + "max": 8192, + "step": 1 }, - "do_sample":{ + "do_sample": { "type": "switch" }, - "frequency_penalty":{ - "type":"spin", - "min":0, - "max":2, - "step":0.05 + "frequency_penalty": { + "type": "spin", + "min": 0, + "max": 2, + "step": 0.05 } } - }, + }, "chatgpt-offline": { - "args": { - "使用说明":"llama.cpp/TGW/...", - "model":"gpt-3.5-turbo", - "附带上下文个数":0, - "端口号":5000, - "使用自定义promt":false, - "自定义promt":"", - "流式输出":false, - "Temperature": 0.3, + "args": { + "使用说明": "llama.cpp/TGW/...", + "model": "gpt-3.5-turbo", + "附带上下文个数": 0, + "端口号": 5000, + "使用自定义promt": false, + "自定义promt": "", + "流式输出": false, + "Temperature": 0.3, "top_p": 0.3, "max_tokens": 128, - "frequency_penalty": 0 - }, - "argstype":{ - "top_p":{ - "type":"spin", - "min":0, - "max":1, - "step":0.01 + "frequency_penalty": 0 + }, + "argstype": { + "top_p": { + "type": "spin", + "min": 0, + "max": 1, + "step": 0.01 }, - "frequency_penalty":{ - "type":"spin", - "min":0, - "max":2, - "step":0.05 + "frequency_penalty": { + "type": "spin", + "min": 0, + "max": 2, + "step": 0.05 }, - "max_tokens":{ - "type":"intspin", - "min":1, - "max":4096, - "step":1 + "max_tokens": { + "type": "intspin", + "min": 1, + "max": 4096, + "step": 1 }, - "流式输出":{ + "流式输出": { "type": "switch" }, - "使用自定义promt":{ - "type":"switch" + "使用自定义promt": { + "type": "switch" }, - "附带上下文个数":{ - "type":"intspin", - "min":0, - "max":10, - "step":1 + "附带上下文个数": { + "type": "intspin", + "min": 0, + "max": 10, + "step": 1 }, - "端口号":{ - "type":"intspin", - "min":0, - "max":65536, - "step":1 + "端口号": { + "type": "intspin", + "min": 0, + "max": 65536, + "step": 1 }, - "使用说明":{ - "type":"label", - "islink":false + "使用说明": { + "type": "label", + "islink": false }, - "Temperature":{ - "type":"spin", - "min":0, - "max":1, - "step":0.1 + "Temperature": { + "type": "spin", + "min": 0, + "max": 1, + "step": 0.1 } } - } -} + } +} \ No newline at end of file diff --git a/LunaTranslator/requirements.txt b/LunaTranslator/requirements.txt index 52353a8e..13160f57 100644 --- a/LunaTranslator/requirements.txt +++ b/LunaTranslator/requirements.txt @@ -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 \ No newline at end of file