Skip to content

Commit

Permalink
OCRC: Remove "原始结果"
Browse files Browse the repository at this point in the history
  • Loading branch information
pilgrimlyieu committed Sep 27, 2023
1 parent 278622d commit 3bf1259
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Project/OCRC/lib/Setting.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,10 @@ SettingGUI(*) {
Setting.AddDropDownList("x+15 w170 vTextOCR_FormatStyle AltSubmit Choose" OCRC_Configs["TextOCR"]["TextOCR_FormatStyle"], ["智能段落", "合并多行", "拆分多行"]).OnEvent("Change", UpdateVar)
Setting["TextOCR_FormatStyle"].ToolTip := "设置默认段落格式`n智能段落:根据返回结果智能合并段落。`n合并多行:将多行合并为一行。`n拆分多行:不对返回结果进行段落合并处理。"
Setting.AddText("x15 y+15 w135 h25 Right", "默认标点")
Setting.AddDropDownList("x+15 w170 vTextOCR_PunctuationStyle AltSubmit Choose" OCRC_Configs["TextOCR"]["TextOCR_PunctuationStyle"], ["智能标点", "原始结果", "中文标点", "英文标点"]).OnEvent("Change", UpdateVar)
Setting.AddDropDownList("x+15 w170 vTextOCR_PunctuationStyle AltSubmit Choose" OCRC_Configs["TextOCR"]["TextOCR_PunctuationStyle"], ["智能标点", "中文标点", "英文标点"]).OnEvent("Change", UpdateVar)
Setting["TextOCR_PunctuationStyle"].ToolTip := "设置默认标点格式`n智能标点(实验性,可能有较大问题!):根据上下文智能转换标点。`n中文标点:将所有标点转换为中文标点。`n英文标点:将所有标点转换为英文标点。"
Setting.AddText("x15 y+15 w135 h25 Right", "默认空格")
Setting.AddDropDownList("x+15 w170 vTextOCR_SpaceStyle AltSubmit Choose" OCRC_Configs["TextOCR"]["TextOCR_SpaceStyle"], ["智能空格", "原始结果", "去除空格"]).OnEvent("Change", UpdateVar)
Setting.AddDropDownList("x+15 w170 vTextOCR_SpaceStyle AltSubmit Choose" OCRC_Configs["TextOCR"]["TextOCR_SpaceStyle"], ["智能空格", "去除空格"]).OnEvent("Change", UpdateVar)
Setting["TextOCR_SpaceStyle"].ToolTip := "设置默认空格格式`n智能空格(实验性,可能有较大问题!在对网址等文本处理不建议使用):根据上下文智能转换空格。`n去除空格:去除所有空格。"
Setting.AddText("x15 y+15 w135 h25 Right", "默认翻译原始语言")
Setting.AddDropDownList("x+15 w170 vTextOCR_TranslateFrom AltSubmit Choose" OCRC_Configs["TextOCR"]["TextOCR_TranslateFrom"], TLs := Map2Array(TL := OCRC_Configs["TextOCR_TranslateLanguages"])).OnEvent("Change", UpdateVar)
Expand Down

0 comments on commit 3bf1259

Please sign in to comment.