fix: fix replace_full not acting correctly on chars_name

This commit is contained in:
Yifan Liu
2023-02-28 12:05:44 -06:00
parent 353ad8fadf
commit 11d1060cad
9 changed files with 25 additions and 20 deletions

View File

@@ -899,7 +899,7 @@ bool asst::TaskData::syntax_check(const std::string& task_name, const json::valu
{
"action", "algorithm", "baseTask", "cache", "exceededNext", "fullMatch",
"hash", "isAscii", "maskRange", "maxTimes", "next", "ocrReplace",
"onErrorNext", "postDelay", "preDelay", "rectMove", "reduceOtherTimes", "roi",
"onErrorNext", "postDelay", "preDelay", "rectMove", "reduceOtherTimes", "replaceFull", "roi",
"specialParams", "sub", "subErrorIgnored", "templThreshold", "template", "text",
"threshold", "withoutDet",
} },
@@ -914,7 +914,7 @@ bool asst::TaskData::syntax_check(const std::string& task_name, const json::valu
{
"action", "algorithm", "baseTask", "cache", "exceededNext",
"fullMatch", "isAscii", "maxTimes", "next", "ocrReplace",
"onErrorNext", "postDelay", "preDelay", "rectMove", "reduceOtherTimes",
"onErrorNext", "postDelay", "preDelay", "rectMove", "reduceOtherTimes", "replaceFull",
"roi", "sub", "subErrorIgnored", "text", "withoutDet",
"specialParams"
} },