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

@ -15,7 +15,16 @@
"network": 1,
"hookmagpie": true,
"imagewrapmode": 0,
"relationlinks":[["LunaTranslator","https://github.com/HIllya51/LunaTranslator"],["vndb","https://vndb.org/"]],
"relationlinks": [
[
"LunaTranslator",
"https://github.com/HIllya51/LunaTranslator"
],
[
"vndb",
"https://vndb.org/"
]
],
"hooklossless": true,
"direct_filterrepeat": false,
"allow_set_text_name": false,
@ -68,7 +77,10 @@
"textthreaddelay": 500,
"flushbuffersize": 3000,
"transuigeo": [
500,500,1200,200
500,
500,
1200,
200
],
"hist_geo": [
100,
@ -242,7 +254,8 @@
"use": true,
"tip": "鼠标穿透窗口",
"icon": "fa.mouse-pointer"
},"backtransbutton": {
},
"backtransbutton": {
"use": true,
"tip": "背景窗口透明",
"icon": "fa.lightbulb-o"
@ -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"
},
@ -930,7 +945,8 @@
"color": "blue",
"type": "dev",
"name": "有道"
},"dev_sogou": {
},
"dev_sogou": {
"use": false,
"color": "blue",
"type": "dev",

View File

@ -6,55 +6,83 @@
"Secret Key": "",
"接口": 0,
"次数统计": "0"
},"argstype":{
},
"argstype": {
"注册网址": {
"type": "label",
"islink": true
},
"接口": {
"type": "combo",
"list":["通用文字识别(标准版)","通用文字识别(标准含位置版)","通用文字识别(高精度版)","通用文字识别(高精度含位置版)"]
"list": [
"通用文字识别(标准版)",
"通用文字识别(标准含位置版)",
"通用文字识别(高精度版)",
"通用文字识别(高精度含位置版)"
]
}
}
},"txocr": {
},
"txocr": {
"args": {
"注册网址": "https://cloud.tencent.com/document/product/866/33526",
"SecretId": "",
"SecretKey": "",
"Region": 0
},"argstype":{
},
"argstype": {
"注册网址": {
"type": "label",
"islink": true
},
"Region": {
"type": "combo",
"list":["ap-beijing","ap-guangzhou","ap-hongkong","ap-seoul","ap-shanghai","ap-singapore","na-toronto"]
"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":{
},
"argstype": {
"注册网址": {
"type": "label",
"islink": true
},
"Region": {
"type": "combo",
"list":["ap-beijing","ap-guangzhou","ap-hongkong","ap-seoul","ap-shanghai","ap-singapore","na-toronto"]
"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":{
},
"argstype": {
"注册网址": {
"type": "label",
"islink": true
@ -66,7 +94,8 @@
"注册网址": "https://docsumo.com/",
"token": "",
"次数统计": "0"
},"argstype":{
},
"argstype": {
"注册网址": {
"type": "label",
"islink": true
@ -80,16 +109,19 @@
"APP_KEY": "",
"APP_SECRET": "",
"次数统计": "0"
},"argstype":{
},
"argstype": {
"注册网址": {
"type": "label",
"islink": true
},
"接口": {
"type": "combo",
"list":["免费试用","通用文字识别 API"]
"list": [
"免费试用",
"通用文字识别 API"
]
}
}
},
"youdaocrtrans": {
@ -99,16 +131,19 @@
"APP_KEY": "",
"APP_SECRET": "",
"次数统计": "0"
},"argstype":{
},
"argstype": {
"注册网址": {
"type": "label",
"islink": true
},
"接口": {
"type": "combo",
"list":["免费试用","图片翻译 API"]
"list": [
"免费试用",
"图片翻译 API"
]
}
}
},
"ocrspace": {
@ -117,14 +152,18 @@
"apikey": "",
"次数统计": "0",
"interface": 0
},"argstype":{
},
"argstype": {
"注册网址": {
"type": "label",
"islink": true
},
"interface": {
"type": "combo",
"list":["pro","free"]
"list": [
"pro",
"free"
]
}
}
},
@ -134,11 +173,13 @@
"密钥获取": "https://console.volcengine.com/iam/keymanage/",
"Access Key ID": "",
"Secret Access Key": ""
},"argstype":{
},
"argstype": {
"注册网址": {
"type": "label",
"islink": true
},"密钥获取":{
},
"密钥获取": {
"type": "label",
"islink": true
}
@ -150,11 +191,13 @@
"路径": "",
"语言": 0,
"附加参数": "--psm 6"
},"argstype":{
},
"argstype": {
"下载": {
"type": "label",
"islink": true
},"路径":{
},
"路径": {
"type": "file",
"dir": false,
"filter": "tesseract.exe",
@ -162,7 +205,10 @@
},
"语言": {
"type": "combo",
"list_function":["ocrengines.tesseract5","list_langs"]
"list_function": [
"ocrengines.tesseract5",
"list_langs"
]
}
}
},

View File

@ -10,13 +10,16 @@
"_remove_ascii": {
"use": false,
"name": "过滤ASCII字符集"
},"_remove_control":{
},
"_remove_control": {
"use": false,
"name": "过滤控制字符"
},"_remove_chaos":{
},
"_remove_chaos": {
"use": false,
"name": "过滤其他乱码"
},"_remove_not_in_ja_bracket":{
},
"_remove_not_in_ja_bracket": {
"use": false,
"name": "过滤「」以外的字符"
},
@ -57,7 +60,8 @@
"step": 1
}
}
},"_3_2": {
},
"_3_2": {
"use": false,
"name": "去除重复行_S1S1S1S2S2S2->S1S2"
},
@ -76,19 +80,24 @@
"_91": {
"use": false,
"name": "过滤数字"
},"_92": {
},
"_92": {
"use": false,
"name": "过滤英文字母"
},
"_7": {
"use": true,
"name": "简单字符串替换",
"args": { "替换内容": {}}
"args": {
"替换内容": {}
}
},
"_7_zhuanyi": {
"use": true,
"name": "转义字符串替换",
"args": { "替换内容": {}}
"args": {
"替换内容": {}
}
},
"_8": {
"use": false,

File diff suppressed because one or more lines are too long

View File

@ -23,13 +23,13 @@
"islink": true
}
}
},"feishu": {
},
"feishu": {
"args": {
"注册网址": "https://open.feishu.cn/document/ukTMukTMukTM/ukDNz4SO0MjL5QzM/auth-v3/auth/tenant_access_token_internal",
"app_id": "",
"app_secret": ""
}
,
},
"argstype": {
"注册网址": {
"type": "label",
@ -43,8 +43,7 @@
"Token": "",
"字数统计": "0",
"次数统计": "0"
}
,
},
"argstype": {
"注册网址": {
"type": "label",
@ -58,8 +57,7 @@
"DeepL-Auth-Key": "",
"字数统计": "0",
"次数统计": "0"
}
,
},
"argstype": {
"注册网址": {
"type": "label",
@ -73,8 +71,7 @@
"DeepL-Auth-Key": "",
"字数统计": "0",
"次数统计": "0"
}
,
},
"argstype": {
"注册网址": {
"type": "label",
@ -104,8 +101,7 @@
"Secret Access Key": "",
"字数统计": "0",
"次数统计": "0"
}
,
},
"argstype": {
"注册网址": {
"type": "label",
@ -117,11 +113,11 @@
"args": {
"注册网址": "https://console.cloud.tencent.com/cam/capi",
"SecretId": "",
"SecretKey": "", "Region":0,
"SecretKey": "",
"Region": 0,
"字数统计": "0",
"次数统计": "0"
}
,
},
"argstype": {
"注册网址": {
"type": "label",
@ -129,7 +125,25 @@
},
"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"]
"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"
]
}
}
},
@ -139,8 +153,7 @@
"apikey": "",
"字数统计": "0",
"次数统计": "0"
}
,
},
"argstype": {
"注册网址": {
"type": "label",
@ -155,8 +168,7 @@
"APP_SECRET": "",
"字数统计": "0",
"次数统计": "0"
}
,
},
"argstype": {
"注册网址": {
"type": "label",
@ -178,15 +190,18 @@
"自定义promt": "",
"api_type": 0,
"流式输出": false
}
,
},
"argstype": {
"流式输出": {
"type": "switch"
},
"api_type": {
"type": "combo",
"list":["open_ai","azure","azure_ad"]
"list": [
"open_ai",
"azure",
"azure_ad"
]
},
"使用自定义promt": {
"type": "switch"
@ -212,7 +227,8 @@
"step": 0.1
}
}
},"claude": {
},
"claude": {
"args": {
"BASE_URL": "https://api.anthropic.com",
"model": "claude-3-opus-20240229",
@ -223,8 +239,7 @@
"使用自定义promt": false,
"自定义promt": "",
"流式输出": false
}
,
},
"argstype": {
"流式输出": {
"type": "switch"
@ -263,8 +278,7 @@
"使用自定义promt": false,
"自定义promt": "",
"流式输出": false
}
,
},
"argstype": {
"流式输出": {
"type": "switch"
@ -299,8 +313,7 @@
"使用自定义promt": false,
"自定义promt": "",
"流式输出": false
}
,
},
"argstype": {
"流式输出": {
"type": "switch"
@ -333,8 +346,7 @@
"用户词典2(可选)": "",
"用户词典3(可选)": "",
"备注": "用户词典选择JcUserdic文件夹"
}
,
},
"argstype": {
"备注": {
"type": "label"
@ -355,7 +367,6 @@
"type": "file",
"dir": true
}
}
},
"kingsoft": {
@ -408,8 +419,7 @@
"type": "switch"
}
}
}
,
},
"azure": {
"args": {
"key1": "",
@ -422,8 +432,7 @@
"islink": true
}
}
}
,
},
"ibm": {
"args": {
"apiurl": "",
@ -456,14 +465,12 @@
"api-key": "",
"使用自定义promt": false,
"自定义promt": ""
}
,
},
"argstype": {
"注册网址": {
"type": "label",
"islink": true
},
"使用自定义promt": {
"type": "switch"
}
@ -489,7 +496,8 @@
"min": 0,
"max": 10000,
"step": 1
},"最大生成长度":{
},
"最大生成长度": {
"type": "intspin",
"min": 0,
"max": 10000,
@ -500,7 +508,8 @@
"min": 0,
"max": 10000,
"step": 1
},"柱搜索数":{
},
"柱搜索数": {
"type": "intspin",
"min": 0,
"max": 10000,

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