首页 > 解决方案 > 在python中获取韩文字符串

问题描述

我正在尝试在 python 中制作 OCR 我有英文 OCR 代码,所以我正在尝试更改它。原始代码的字母如下。

字母表 = string.digits + string.ascii_letters + '!?. '

似乎字母表是 abcd....xyz + 0123...89 + !?。

我想添加韩语.. 有没有像 string.korean(?) 这样的函数我想要的是....

alphabet_plus_Korean = string.digits + string.ascii_letters + '!?. ' + 字符串.韩语

或者

字母加中文 = string.digits + string.ascii_letters + '!?. ' + 字符串.中文

像那样..不可能吗?(在python中不支持?)

标签: pythonocr

解决方案


推荐阅读