Improve Italian ocr replace list a little - thx tormento :)

See https://forum.doom9.org/showthread.php?p=1958951#post1958951
This commit is contained in:
niksedk 2021-12-19 13:05:52 +01:00
parent a8494e7dd0
commit 7ace645355

View File

@ -61,5 +61,8 @@
<EndLines /> <EndLines />
<RegularExpressions> <RegularExpressions>
<RegEx find="\b\|\b" replaceWith="I" /> <RegEx find="\b\|\b" replaceWith="I" />
<RegEx find="([\p{Ll},] )(I)([oai][, \.])" replaceWith="$1l$3" />
<RegEx find="\b(I)([àì]|'[ \r\n])\b" replaceWith="l$2" />
<RegEx find="([\p{Ll},] )(II)\b" replaceWith="$1Il" />
</RegularExpressions> </RegularExpressions>
</OCRFixReplaceList> </OCRFixReplaceList>