mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-22 00:35:34 +00:00
RuanMei OCR postprocess in CN (#358)
* RuanMei OCR postprocess in CN * dont match dot between ruanmei when ocr postprocess * RuanMei OCR postprocess in CN update: used a wildcard for the dot between Ruan and Mei
This commit is contained in:
parent
dbb5658103
commit
58e054a008
@ -23,6 +23,8 @@ class OcrCharacterName(OcrWhiteLetterOnComplexBackground):
|
|||||||
# Dan Heng o.ImbibitorLunae
|
# Dan Heng o.ImbibitorLunae
|
||||||
result = re.sub(r'[0Oo\-. ]{1,3}Imbi', 'Imbi', result)
|
result = re.sub(r'[0Oo\-. ]{1,3}Imbi', 'Imbi', result)
|
||||||
|
|
||||||
|
result = re.sub(r'院.?梅', '阮•梅', result)
|
||||||
|
|
||||||
return super().after_process(result)
|
return super().after_process(result)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user